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

6905 Коммитов

Автор SHA1 Сообщение Дата
ctai 4b40fd1bc1 Bug 1266646 - Rename MediaStreamDirectListener and MediaStreamTrackDirectListener to DirectMediaStreamListener and DirectMediaStreamTrackListener respectively. r=jesup,pehrsons
Rename those two function to better name alignment with AddDirectListener and AddDirectTrackListener.

MozReview-Commit-ID: 6QY08oyih1X

--HG--
extra : rebase_source : e0f2ac5de75d54a870f5a99f08505e40aa0696d9
2016-04-29 11:45:25 +08:00
ctai 4ab1e6cc57 Bug 1266646 - Change HTMLMediaElement::StreamSizeListerner to inherit MediaStreamTrackDirectListener. r=jesup, r=pehrsons
MozReview-Commit-ID: HnNv9BnlbDy

--HG--
extra : rebase_source : 7d04886895910b00964c2ce36a337873195b12fa
2016-05-10 17:02:15 +08:00
Thomas Zimmermann 6d8a7a35d7 Bug 1279442: Fix definition of |MediaOmxReader::ResetDecode|, r=jwwang
MozReview-Commit-ID: 2dNgqTT7DEU
2016-06-13 16:46:25 +02:00
Andreas Pehrson 5bc6c4811d Bug 1208328 - Test MediaStreamTrackEvent like RTCTrackEvent. r=smaug
MozReview-Commit-ID: GAEu2FskUJr

--HG--
extra : rebase_source : ec18520447f4e9a554e0ab35a057d1248063d86e
extra : source : ece1345d0b6558ff5358f906aad56f0f32648bcd
2016-06-10 11:58:06 +02:00
Andreas Pehrson b6566cadf0 Bug 1208328 - Don't block ended tracks on removal from MediaStream. r=jesup
After ending the MediaInputPort (to the playback stream) gets removed if locked
to the track specifically. Trying to remove the track at this point would try to
block it in the same MediaInputPort - but since it doesn't exist would trigger
an NS_ERROR instead.

MozReview-Commit-ID: IpRL6FAGxPp

--HG--
extra : rebase_source : af67b8f8e0dfc340d50af7bcfe8e476159cefeac
extra : source : dbb4b83be583eacc401648c5c33091958c29c4c3
2016-05-31 14:55:51 +02:00
Andreas Pehrson e93d5f7b7d Bug 1208328 - Implement MediaStream.onaddtrack. r=jib, r=smaug
MozReview-Commit-ID: JVZO5mlxvgW

--HG--
extra : rebase_source : 49b0ebaff593c28b727602d7b61bab5feea80485
extra : source : ba0529f6b0733534d50fa842dfebd52c6b477140
2016-05-31 09:29:52 +02:00
Andreas Pehrson fedd99c881 Bug 1208328 - Test that "addtrack" and "removetrack" events don't occur on manual operations. r=jib
MozReview-Commit-ID: F3T9upYPlnU

--HG--
extra : rebase_source : 8b453047152069f04a750d7594d2025c0ca78963
extra : source : 22150caec0d26f651b8c9bf0e17190c4b386f4bf
2016-05-27 18:01:14 +02:00
Andreas Pehrson 4e8eda20c7 Bug 1208328 - Add test for "addtrack" on recv side of RTCPeerConnection. r=jib
MozReview-Commit-ID: 2KkAc5uFjAZ

--HG--
extra : rebase_source : b6f08b3831f55621fbae8493fcace53e2558c055
extra : source : 6ce08f664f9cf5337b993cf282610681c945e97e
2016-06-09 13:46:19 +02:00
Andreas Pehrson 36786eb617 Bug 1274221 - Ensure MediaStreamListeners are always notified of created and ended tracks. r=ctai, r=jesup
This means that when a MediaStreamListener is added to a stream, we'll call
NotifyQueuedTrackChanges with TRACK_EVENT_CREATE for all tracks that already
exist.

Likewise, we'll call NotifyQueuedTrackChanges with TRACK_EVENT_ENDED for all
tracks that exist and have ended.

This fixes potential race conditions where a track was created and/or ended
before the listener was asynchronously added.

MozReview-Commit-ID: G3juhfiZMtg

--HG--
extra : rebase_source : 4f7b9c116e7d25cfc4c3894551173925613c6c14
extra : intermediate-source : 45bfebd36a99baef6bee50e52ac9c78965a7f1c2
extra : source : 70e8c5a785a9866e6205b54bd1c45faaf834717d
2016-05-24 13:23:50 +02:00
Andreas Pehrson b116cbbb27 Bug 1274221 - Make FindOwnedDOMTrack look for (optionally) unique tracks. r=ctai
MozReview-Commit-ID: 1y8YuwJWIS5

--HG--
extra : rebase_source : 0baab5c71f5e935f69dd3430fc6ce0a7f6c866b3
extra : intermediate-source : ce89c5b1f32de13ca7128de14538eabcb749b925
extra : source : c2154e0e122ac3981d1c5c7e748633a64111cbf7
2016-05-24 13:26:25 +02:00
Andreas Pehrson 9f0a44a15a Bug 1274221 - Test that multiple tracks of the same source all end when in the same stream. r=jib
MozReview-Commit-ID: 64T6I4RDrKH

--HG--
extra : rebase_source : 3de3601fb209dae2474dac2fb8661a971a455ffd
extra : intermediate-source : 96d02a1982f7cd0a21d089006ca235360d1dcd43
extra : source : b9a09fe46c5e1adc8659070a8f4f60d9e09b7311
2016-05-24 13:24:04 +02:00
Andreas Pehrson e10c6cef75 Bug 1208373 - Don't remove tracks from StreamTracks. Just their content. r=jesup
MozReview-Commit-ID: 6JrnR2IWlAS

--HG--
extra : rebase_source : 447be87b7493a2131fc04add3560eaeef7d37019
extra : source : c864d8ec3ba36ead778d798f14b2107a53a6d290
2016-06-08 14:32:12 +02:00
Andreas Pehrson d551df2bcf Bug 1208373 - Introduce a new blocking mode to MediaInputPort. r=jesup
This lets us notify about a created TrackUnionStream track (and since it was
created, we can notify when it ends), even though it has been blocked from main
thread.

MozReview-Commit-ID: HyopzISBfbb

--HG--
extra : rebase_source : a3d676257473bba08190b8e2b24d027c42306621
extra : intermediate-source : 5454dcaa31ff8eb060b6f1531a376dcbc24ffb4d
extra : source : 690904309e169aa74f95163f0d796493ef882972
2016-06-07 16:20:29 +02:00
Andreas Pehrson b0d8a94789 Bug 1208373 - Fix test_peerConnection_capturedVideo.html to wait for close() promise. r=jib
MozReview-Commit-ID: AOrm5JkfxAG

--HG--
extra : rebase_source : 3ff50ff74c3acf33feeb8dfe6539d080df6f3aa9
extra : intermediate-source : 7f2842b199f5f377de64b130e0e8f8f0867abd3b
extra : source : b9c629250c90c42950b2b91ccf248dd1da6cdbf5
2016-05-04 16:32:17 +02:00
Andreas Pehrson bc991593cb Bug 1208373 - Implement MediaStreamTrack.readyState. r=smaug,jib
MozReview-Commit-ID: EoMaG0R3Dpp

--HG--
extra : rebase_source : 96ffe09a577f951b1d960434aa3b2de9d4aa2c4b
extra : intermediate-source : 2b5684b6362e51af2e90115e2b855662358b51b4
extra : source : eb945c96027405effd2138a069eabd68f192f15c
2016-05-10 17:03:37 +02:00
Andreas Pehrson 416244b4cf Bug 1208373 - Implement MediaStreamTrack's "ended" event and onended EventHandler. r=smaug,jib
MozReview-Commit-ID: DtqzY5nIdPI

--HG--
extra : rebase_source : 37600d9e9090d5a72f3b85baedb075914d473568
extra : intermediate-source : 9c8e3a0dbff3d67d20e7637e9e9975c52e35764c
extra : source : f6a237afe9a83a8389a8e0a4f7435da3c4d0ca54
2016-05-10 17:03:29 +02:00
Andreas Pehrson 81342d42f3 Bug 1208373 - Test that ended tracks that are cloned are also ended. r=jib
MozReview-Commit-ID: 4YU31TK0Mdf

--HG--
extra : rebase_source : d56d39f2f7071a67bf99ed4cb4fd3b26ee51cc4f
extra : intermediate-source : 816141c9f43f5b98d7b1489e1fd61196f2feb570
extra : source : 0d4ff0ff0dac011751329d23122e8e55e37ee3f7
2016-05-04 11:28:14 +02:00
Andreas Pehrson 4457fc9483 Bug 1208373 - Add test for MediaStreamTrack "ended" event and "readyState" attribute. r=jib
MozReview-Commit-ID: INZ0XtRTgt1

--HG--
extra : rebase_source : 70fdf8eaaeb70d8d9c446858ab8a5bb48bc555ae
extra : intermediate-source : 1a53787bf0f7580e8d06cbb5e2b4142490aaf9a4
extra : source : dc5697d8abd4454539a67966cf2e110d2a1ce081
2016-05-12 14:02:10 +02:00
Andreas Pehrson 47b2747187 Bug 1208373 - Test that a peerConnection's received tracks end on close(). r=jib
MozReview-Commit-ID: 1iVTt6XBRpZ

--HG--
extra : rebase_source : f82ee79df243676200efb8fab7672779d19b447b
extra : intermediate-source : ea733590b88625520282a8438b3068e76927c881
extra : source : 548b2be660a128084e1916409add6bd97d5efed3
2016-05-12 14:30:51 +02:00
Andreas Pehrson 86afa4200c Bug 1208373 - Check that we don't get "ended" event for tracks after calling stop(). r=jib
MozReview-Commit-ID: K9gOZtUNQ5K

--HG--
extra : rebase_source : 57e54c89fcad5e3f52a5d0e9b7ea877fcd33fdad
extra : intermediate-source : 2b077be047c0bb50e8c72e9922a5fa0b7ec4df87
extra : source : 2996367191d23fd1aa4630d4a964b2577c7fbf8c
2016-05-12 13:50:34 +02:00
bechen 5f7ef9b5d7 Bug 882717 - Invoke TimeMarchesOn when the startTime/endTime/pauseOnExit be changed of TextTrackCue. r=rillian
MozReview-Commit-ID: 7Xol9x83lLx

--HG--
extra : transplant_source : %DD%5C%E9%5C%98Y4%7B%AE%24%E1%7C%9F%F8%60C%85%0D%D5W
2016-06-08 16:53:30 +08:00
Jean-Yves Avenard 8bb32f751e Bug 1275339: [ffmpeg] P2. Fetch avcodec_free_frame in libavcodec. r=cpearce
avcodec_free_frame was incorrectly looked in libavuti. On Linux where this code is used, it makes no difference really but for clarity sake.

MozReview-Commit-ID: DC1WJAAKiE4
2016-06-11 11:04:14 +01:00
Jean-Yves Avenard 3b9ae45b0e Bug 1275339 - [ffmpeg] Don't assume AVFrame has a constant size.
An AVFrame has a different size between FFmpeg 0.10 and LibAV 0.8 though both have the same version number.

Forgot to add the fixes (twice now :( )

MozReview-Commit-ID: DR3b3fqSngh
2016-06-11 11:04:10 +01:00
Ralph Giles d8b5bb25d4 Bug 1275744 - Reference MOZ_LOG in dom comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: GgJTpEHyZqJ

--HG--
extra : rebase_source : dea80975ee6281aff1476f99f1807f3093af82c9
2016-05-26 11:08:47 -07:00
Dan Minor 0c66b656d9 Bug 1265395 - Implement new high pass filter equation; r=padenot
If run against the version of the test using the old equations, 8 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.

MozReview-Commit-ID: 7gJb8rFQPq1

--HG--
extra : rebase_source : 53e13932e05053355e5f3fe69d06aa007c9314ac
2016-05-16 15:16:17 -04:00
Dan Minor bdb8a133ee Bug 1265395 - Implement new low pass filter equation; r=padenot
If run against the version of the test using the old equations, 18 of the
26460 values would be larger than the maximum difference threshold, so I
updated the test code to use the new equations as well.

I also had to make a small increase to the maximum allowable glitch for
the tail test.

MozReview-Commit-ID: LrB3HufFWpJ

--HG--
extra : rebase_source : 5b011653b3c0d8a00c2a96185c703b5457058936
2016-06-08 12:49:40 -04:00
Dan Minor b01574924b Bug 1265395 - Use blink biquad filter tests; r=padenot
MozReview-Commit-ID: 3cOAraspIR4

--HG--
rename : dom/media/webaudio/test/blink/biquad-allpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAllPass.html
rename : dom/media/webaudio/test/blink/biquad-automation.html => dom/media/webaudio/test/blink/test_biquadFilterNodeAutomation.html
rename : dom/media/webaudio/test/blink/biquad-bandpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeBandPass.html
rename : dom/media/webaudio/test/blink/biquad-getFrequencyResponse.html => dom/media/webaudio/test/blink/test_biquadFilterNodeGetFrequencyResponse.html
rename : dom/media/webaudio/test/blink/biquad-highpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighPass.html
rename : dom/media/webaudio/test/blink/biquad-highshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeHighShelf.html
rename : dom/media/webaudio/test/blink/biquad-lowpass.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowPass.html
rename : dom/media/webaudio/test/blink/biquad-lowshelf.html => dom/media/webaudio/test/blink/test_biquadFilterNodeLowShelf.html
rename : dom/media/webaudio/test/blink/biquad-notch.html => dom/media/webaudio/test/blink/test_biquadFilterNodeNotch.html
rename : dom/media/webaudio/test/blink/biquad-peaking.html => dom/media/webaudio/test/blink/test_biquadFilterNodePeaking.html
rename : dom/media/webaudio/test/blink/biquad-tail.html => dom/media/webaudio/test/blink/test_biquadFilterNodeTail.html
extra : rebase_source : 3fff8a2e63593efee1e93ec3780ed86541376c88
2016-06-08 14:37:21 -04:00
Dan Minor ee7445c176 Bug 1265395 - Import blink biquad filter tests; r=padenot
Imported from git revision b1fd9cf76c2e80540100262b09911600936f2ae3.

MozReview-Commit-ID: HzfHxOExJxq

--HG--
extra : rebase_source : 977261aefc956d0f6e733eacc5c7c17a2bb29236
2016-05-13 10:36:41 -04:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Chris Pearce 191e25eeb7 Bug 1276132 - Make more Widevine class constructors explicit to keep gcc happy. r=jwwang
Fixes compile errors on Linux when Widevine is compiled.

MozReview-Commit-ID: 19qQw02CqdQ

--HG--
extra : rebase_source : 335124655869da1f899986f7dcd0d7ec1e441f6a
2016-05-31 12:05:24 +12:00
Chris Pearce 91ab2bc0c4 Bug 1276132 - Remove use of #ifdef MOZ_{KEYSYSTEM}_EME in dom/media code. r=jwwang
Instead of controlling visibility of EME keysystems by build config, do it by
preference. This means keysystems can be turned on easier.


MozReview-Commit-ID: Ky1zrHPubOJ

--HG--
extra : rebase_source : 35d9c26436a86683b902225e7b0d6645b02d8ff9
2016-05-31 11:00:55 +12:00
Matthew Gregan 0f7bada663 Bug 910329 - Don't use the channel status as a proxy for load group membership. r=mayhemer 2016-06-09 13:36:58 +12:00
Jan-Ivar Bruaroey 83550a678d Bug 1278309 - Test that createOffer immediately followed by close does not settle. r=drno
MozReview-Commit-ID: GzPlWp5nlqZ

--HG--
extra : rebase_source : 38af9558d159a0bf5f4834bd875261b957cc4e81
2016-06-07 11:45:25 -04:00
Jan-Ivar Bruaroey f07be007ab Bug 1278309 - make createOffer immediately followed by close not settle. r=drno
MozReview-Commit-ID: ILOiCY9gFJy

--HG--
extra : rebase_source : cb09dd78e1c95692e78d6b9c2812d80d4d3f5f9e
2016-06-07 15:50:43 -04:00
Paul Adenot 532305e1e2 Bug 845648 - Don't try to get the local on Android.
MozReview-Commit-ID: CHKq4B76Xv0
2016-06-09 16:35:30 +02:00
Carsten "Tomcat" Book 69f29f31e5 Backed out changeset 2b077be047c0 (bug 1208373) for test failures in test_all_synthetic_events.html on a CLOSED TREE 2016-06-09 15:19:09 +02:00
Carsten "Tomcat" Book 21ee35ff2b Backed out changeset ea733590b886 (bug 1208373) 2016-06-09 15:18:50 +02:00
Carsten "Tomcat" Book ade26230b0 Backed out changeset 1a53787bf0f7 (bug 1208373) 2016-06-09 15:18:49 +02:00
Carsten "Tomcat" Book e5fe30e833 Backed out changeset 816141c9f43f (bug 1208373) 2016-06-09 15:18:48 +02:00
Carsten "Tomcat" Book f9283e86ce Backed out changeset 9c8e3a0dbff3 (bug 1208373) 2016-06-09 15:18:46 +02:00
Carsten "Tomcat" Book 51b3fd3c7d Backed out changeset 2b5684b6362e (bug 1208373) 2016-06-09 15:18:45 +02:00
Carsten "Tomcat" Book 39ce674aa0 Backed out changeset 7f2842b199f5 (bug 1208373) 2016-06-09 15:18:43 +02:00
Carsten "Tomcat" Book 79d88f89e8 Backed out changeset 5454dcaa31ff (bug 1208373) 2016-06-09 15:18:42 +02:00
Carsten "Tomcat" Book 2c32e5b3ad Backed out changeset c864d8ec3ba3 (bug 1208373) 2016-06-09 15:18:40 +02:00
Carsten "Tomcat" Book 614b2d105f Backed out changeset 96d02a1982f7 (bug 1274221) 2016-06-09 15:18:39 +02:00
Carsten "Tomcat" Book 60e86b393e Backed out changeset ce89c5b1f32d (bug 1274221) 2016-06-09 15:18:38 +02:00
Carsten "Tomcat" Book fe2de5bf49 Backed out changeset 45bfebd36a99 (bug 1274221) 2016-06-09 15:18:36 +02:00
Carsten "Tomcat" Book 27555764e7 Backed out changeset 6ce08f664f9c (bug 1208328) 2016-06-09 15:18:35 +02:00
Carsten "Tomcat" Book c55a07994c Backed out changeset 22150caec0d2 (bug 1208328) 2016-06-09 15:18:33 +02:00
Carsten "Tomcat" Book 89552f5055 Backed out changeset ba0529f6b073 (bug 1208328) 2016-06-09 15:18:32 +02:00