Граф коммитов

13997 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 6013cf85d8 Bug 1225729 - Restore RTCP timestamp tests on Android. r=jib
Android no longer seems to generate the mysterious 2085978496000 timestamps, so we can run these tests on Android again.

Differential Revision: https://phabricator.services.mozilla.com/D9356

--HG--
extra : rebase_source : 2571912ad85c5dfba2cf565f27836a8e26e3739d
extra : histedit_source : 22e4c18feb2e7a258b68b7df1b85582e7ed2e318
2018-10-03 23:10:15 -07:00
Chris Peterson 6f7a1abf75 Bug 979649 - Part 4: Re-enable RTCP timestamp test. r=jib
One of the commented-out test cases is failing (bug 1495446), so temporarily log an info() statement until bug 1495446 is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D9355

--HG--
extra : rebase_source : afae17d6862536cffb9d08429af788a3aaae26c0
extra : histedit_source : 7700e1a3eaa21a62b0da0bd2f9ebe7877bb2b161
2018-10-02 21:42:12 -07:00
Chris Peterson b0a7355485 Bug 979649 - Part 3: Restore Windows clock drift in RTCP timestamp test. r=jib
The Windows clock drift allowance was originally added for Windows XP (in bug 979649). I removed it in https://hg.mozilla.org/mozilla-central/rev/a1f769e90937 but it appears Windows 7 has the same clock drift problem that XP had.

Differential Revision: https://phabricator.services.mozilla.com/D9354

--HG--
extra : rebase_source : b3171b2fed1da141e62e0344527bba2dfef6e81a
extra : histedit_source : 273376a88d60c5bf820deb91f8c5f91e00aba292
2018-10-03 23:13:10 -07:00
alwu b020b31588 Bug 1496281 - let AudioSinkWrapper decide whether we need to create AudioSink. r=jya
Allow AudioSinkWrapper to access MDSM's audio queue in order to know whether the audio source ended.

Differential Revision: https://phabricator.services.mozilla.com/D8031

--HG--
extra : moz-landing-system : lando
2018-10-19 23:30:06 +00:00
Karl Tomlinson 40f6bff7f7 Bug 1500303 apply input gain correctly for stereo-to-stereo StereoPanner r=padenot
The gains passed to GainStereoToStereo() are applied on only one of the input channels.

Depends on D9213

Differential Revision: https://phabricator.services.mozilla.com/D9214

--HG--
extra : moz-landing-system : lando
2018-10-19 09:36:08 +00:00
Karl Tomlinson 59c4ccaacc Bug 1500303 correct expected result for stereoPanningWithGain tests r=padenot
Depends on D9212

Differential Revision: https://phabricator.services.mozilla.com/D9213

--HG--
extra : moz-landing-system : lando
2018-10-19 21:04:37 +00:00
Karl Tomlinson ad45a8d475 Bug 1500238 correct mono-to-stereo panning at centre position r=padenot
and re-use input buffer instead of copying.

Depends on D9211

Differential Revision: https://phabricator.services.mozilla.com/D9212

--HG--
extra : moz-landing-system : lando
2018-10-19 09:25:27 +00:00
Karl Tomlinson 6e306581c2 Bug 1500238 output null from StereoPannerNode when input is null r=padenot
This is necessary for efficient processing of silence, and is consistent with
behavior of other nodes.

A null block current has a single channel of silence, which isn't aligned with
the current spec, but is consistent with the direction of
https://github.com/WebAudio/web-audio-api/issues/1471#issuecomment-405668690

Depends on D9210

Differential Revision: https://phabricator.services.mozilla.com/D9211

--HG--
extra : moz-landing-system : lando
2018-10-19 09:25:25 +00:00
Karl Tomlinson 49ec510d94 Bug 1500238 correct expected result for monoPanningNoop tests r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D9210

--HG--
extra : moz-landing-system : lando
2018-10-19 09:25:18 +00:00
Mark Banner ceaeb93550 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389

--HG--
extra : moz-landing-system : lando
2018-10-19 12:55:39 +00:00
Jeff Gilbert 2e01221c07 Bug 1499858 - Re-enable MP4Demuxer.CENCFragVideo gtest for Windows. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9030

--HG--
extra : moz-landing-system : lando
2018-10-18 16:47:55 +00:00
Ciure Andrei e6f9a6308b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-18 19:39:05 +03:00
Nathan Froyd f3eed4c3a6 Bug 1499850 - make MediaTimer slightly more efficient; r=pehrsons
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created.  This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-18 07:00:11 -04:00
Alex Chronopoulos b913a19d0c Bug 1499615 - Silence unused returned value warning and initialize the counter. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8964

--HG--
extra : moz-landing-system : lando
2018-10-18 11:24:36 +00:00
Paul Adenot 3c9ac6a32d Bug 1497254 - clang-format MediaEngineWebRTCAudio.{cpp,h} and MediaEnginePrefs.h. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8959

--HG--
extra : moz-landing-system : lando
2018-10-17 13:05:59 +00:00
Paul Adenot e4afe8a413 Bug 1497254 - Remove the concept of an Allocation from MediaEngineWebRTCAudio. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D8732

--HG--
extra : moz-landing-system : lando
2018-10-17 13:05:51 +00:00
Nils Ohlmeier [:drno] 0576d8d43c Bug 1051685: increase SCTP window size from 128K to 1M. r=lgrahl
Differential Revision: https://phabricator.services.mozilla.com/D8906

--HG--
rename : dom/media/tests/mochitest/test_dataChannel_basicDataOnly.html => dom/media/tests/mochitest/test_dataChannel_dataOnlyBufferedAmountLow.html
extra : moz-landing-system : lando
2018-10-16 21:12:34 +00:00
Cosmin Sabou d41320ad98 Bug 1495167 - Disable dom/media/mediasource/test/test_WaitingToEndedTransition_mp4.html on Linux for frequent failures. r=jmaher 2018-10-16 04:34:00 +03:00
Noemi Erli f63cc2b795 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-16 01:21:28 +03:00
Noemi Erli d0ba3c76c9 Merge autoland to mozilla-central. a=merge 2018-10-16 01:19:10 +03:00
Noemi Erli eb80f3addd Backed out 2 changesets (bug 1487797) for introducing regressions a=backout
Backed out changeset e9549537063a (bug 1487797)
Backed out changeset c629e51dda10 (bug 1487797)

--HG--
extra : rebase_source : dc2c88cdc5db487786a53d997ad28199992cc69c
2018-10-16 00:23:11 +03:00
Andreas Pehrson 7561a1fdef Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8064

--HG--
extra : moz-landing-system : lando
2018-10-15 08:17:07 +00:00
Ciure Andrei 14f664ea99 Backed out changeset 25bff27f9944 (bug 1496281) requested for causing bug1498953 CLOSED TREE 2018-10-15 21:47:32 +03:00
Jean-Yves Avenard 8ef35e13b5 Bug 1498788 - Adjust width and height so they are never bigger than source or destination. r=mattwoodrow
Why we would need this is unclear however. the destination texture should always be smaller than what comes out of the decoder.

Differential Revision: https://phabricator.services.mozilla.com/D8672

--HG--
extra : moz-landing-system : lando
2018-10-14 19:01:01 +00:00
Philipp Hancke c0cf9f10eb Bug 1435789: implement relayProtocol for localcandidate stats r=smaug,ng
relayProtocol is the standardized variant of mozLocalTransport.
Spec:
  https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats-relayprotocol

IDL:
  https://w3c.github.io/webrtc-stats/#icecandidate-dict*

Differential Revision: https://phabricator.services.mozilla.com/D3428

--HG--
extra : moz-landing-system : lando
2018-10-07 07:42:48 +00:00
Jan-Ivar Bruaroey 9dde5f9fd5 Bug 1498237 - Clean up identity/test_fingerprints.html to use standard test environment in ../pc.js and async/await. r=fippo
Differential Revision: https://phabricator.services.mozilla.com/D8660

--HG--
extra : moz-landing-system : lando
2018-10-13 16:39:28 +00:00
Ciure Andrei 26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Karl Tomlinson fb511e7d71 Bug 1497751 update driver state before handing control to another thread r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D8180

--HG--
extra : rebase_source : 28d6f37a225f5ca9a4f7edb2323497b59dd806a7
extra : amend_source : 2e1d83177eba552a95b651f13bc452cb39f5f97e
2018-10-13 12:45:18 +13:00
alwu 710e33671f Bug 1496281 - do not create audio stream if audio has ended. r=jya
We should not init the audio steam when the audio queue is marked as finished.

Differential Revision: https://phabricator.services.mozilla.com/D8031

--HG--
extra : moz-landing-system : lando
2018-10-12 22:23:40 +00:00
Sylvestre Ledru dd5741407b Bug 1498586 - Add clang-format off to avoid the reformatting of the data structures r=Ehsan
Too hard/impossible for the tool to format correctly these structs

Differential Revision: https://phabricator.services.mozilla.com/D8569

--HG--
extra : moz-landing-system : lando
2018-10-12 20:48:24 +00:00
Daniel Varga 9e234e00ff Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-10-13 00:55:54 +03:00
Cosmin Sabou edbc4c6715 Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
extra : amend_source : 85893d4f90b3faf7e1cc6b214501c41a9837bd96
2018-10-12 20:35:52 +03:00
Jan-Ivar Bruaroey 7d40419bc8 Bug 1497390 - Remove support for legacy mozAutoGainControl and mozNoiseSuppression constraints. r=bzbarsky,achronop a=reland
Differential Revision: https://phabricator.services.mozilla.com/D8053

--HG--
extra : amend_source : 99bbce10577ac5fb2c32a869d74e52b0f4f02142
2018-10-12 20:25:07 +03:00
Csoregi Natalia 86dc471972 Merge autoland to mozilla-central. a=merge 2018-10-12 19:55:37 +03:00
Sebastian Hengst b219f1c732 Backed out changeset 419218259bc1 (Bug 1497390) for frequently failing mda's dom/media/tests/mochitest/identity/test_fingerprints.html (bug 1498326). a=backout 2018-10-12 19:50:42 +03:00
Andreas Pehrson f5f6f6fdb4 Bug 1377146 - Remove AudioStreamTrack and VideoStreamTrack from js. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8063

--HG--
extra : moz-landing-system : lando
2018-10-11 15:36:11 +00:00
Alex Chronopoulos 42e1c2a80b Bug 934425 - Add mochitest for setSinkId. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D5875

--HG--
extra : moz-landing-system : lando
2018-10-12 08:45:17 +00:00
Alex Chronopoulos 6e1c6f8946 Bug 934425 - Implement asynchronous method to switch sink in MediaDecoder. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D5872

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:47 +00:00
Alex Chronopoulos 2c94f04194 Bug 934425 - Set device info in MediaSink and switch sink device. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D5871

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:35 +00:00
Alex Chronopoulos 662ff54a4e Bug 934425 - Create a method in MediaManager to look up a given sink id. r=jib
Implement a new method in MediaManager that enumerates audio output devices and looks up for a given sink id asynchronously.

Differential Revision: https://phabricator.services.mozilla.com/D5870

--HG--
extra : moz-landing-system : lando
2018-10-12 08:44:23 +00:00
Alex Chronopoulos 12ad318568 Bug 934425 - Add device info in MediaDevice. r=jib
MediaDevice is the core object for audio device enumeration. By adding AudioDeviceInfo every information of audio devices will be available. In this case device id will be available from the first enumeration and there is no need to enumerate multiple times to get that info.

Differential Revision: https://phabricator.services.mozilla.com/D5869

--HG--
extra : moz-landing-system : lando
2018-10-12 08:48:22 +00:00
Csoregi Natalia 0405a5a7d2 Merge mozilla-central to autoland. CLOSED TREE 2018-10-12 19:58:03 +03:00
Alex Chronopoulos 77cf84db03 Bug 1498520 - Add missing header file to fix MinGW64 build. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D8558

--HG--
extra : moz-landing-system : lando
2018-10-12 15:08:36 +00:00
Bogdan Tara db185e5d31 Backed out 2 changesets (bug 1258143) for dom/media/tests/crashtests/791330.html failures CLOSED TREE
Backed out changeset 514420f15a67 (bug 1258143)
Backed out changeset 905c871bcf03 (bug 1258143)
2018-10-12 17:42:26 +03:00
Andreas Pehrson ecdb48777f Bug 1258143 - Remove LocalMediaStream. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D8064

--HG--
extra : moz-landing-system : lando
2018-10-11 12:43:34 +00:00
Cosmin Sabou 386468ce92 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-12 20:42:30 +03:00
Csoregi Natalia 4688712435 Merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : rebase_source : ced056102700e812cb71f2301aa74558341e67ac
2018-10-12 20:00:55 +03:00
alwu 7c0b331bf7 Bug 1496496 - part4 : avoid to notify audible state changed frequently. r=padenot
We don't want to notify state changed frequently if the input stream is consist of
interleaving audible and inaudible blocks.

This situation is really common, especially when user is using OscillatorNode to produce
sound. Sending unnessary runnable frequently would cause performance debasing.

If the stream contains 10 interleaving samples and 5 of them are audible, others are
inaudible, user would tend to feel the stream is audible. Therefore, we have the loose
checking when stream is changing from inaudible to audible, but have strict checking when
streaming is changing from audible to inaudible. If the inaudible blocks continue over a
speicific time thersold, then we will think the steam as inaudible.

Differential Revision: https://phabricator.services.mozilla.com/D7823

--HG--
extra : moz-landing-system : lando
2018-10-08 18:52:01 +00:00
Paul Adenot 49c116de8b Bug 1487057 - Part 11 - Work around the fact that EndTrack uses mCommands. r=pehrsons
This is temporaray until Andreas fixes all this.

--HG--
extra : rebase_source : b149b4b2bfa70355ce5e624f0c55368885b2f885
2018-10-12 15:57:49 +02:00
alwu 55fe876b28 Bug 1496496 - part3 : add log. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7821

--HG--
extra : moz-landing-system : lando
2018-10-05 19:04:17 +00:00