Andreas Pehrson
3683deb67f
Bug 957691 - Restore assertions. r=karlt
...
MozReview-Commit-ID: 1guHCRCzQjS
--HG--
extra : rebase_source : 64705edf4a784d43602b2f1de8d9594d0990d801
2016-04-21 11:44:35 +02:00
JW Wang
0a9e6a6567
Bug 1267933 - rewrite the shutdown sequence of MediaShutdownManager. r=jya,gerald.
...
MozReview-Commit-ID: 8n7JlXOby0z
2016-05-04 16:13:25 +08:00
Alastor Wu
c8fae1998b
Bug 1242874 - part4 : wrap the volume/mute/suspend for notifyStartedPlaying. r=baku
...
MozReview-Commit-ID: 2FMfEVuODmu
--HG--
extra : rebase_source : 96e49e6e8d074a9bd5d9a7e6a60e7ec01cc88402
2016-05-03 09:52:44 +08:00
Alastor Wu
30466d68e1
Bug 1242874 - part3 : implement different suspended methods. r=baku, r=jwwang
...
MozReview-Commit-ID: HHYX29gbLwk
--HG--
extra : rebase_source : d774e1338c6e0cd2ce8b4329b28ad9650011a7e5
2016-05-03 09:52:38 +08:00
Alastor Wu
40bc1f6803
Bug 1242874 - part1 : create suspened types. r=baku
...
MozReview-Commit-ID: FUAPZAdPVse
--HG--
extra : rebase_source : c9faf34965d7e2be9b76881c95dfeff62036587f
2016-05-03 09:50:24 +08:00
Makoto Kato
d5fe2ef744
Bug 1237546 - Use nsEscapeHTML2 for speech text. r=eitan
2016-05-02 03:46:00 +02:00
ctai
dac4222c8f
Bug 1266644 - Correct the StramTracks history part 2. r=me
...
The dom/media/StreamTrack.* and StreamTrack.* are the same file.
To keep the full history, need to overwrite StreamTrack.* first. Then this patch to move StreamTrack.* back to dom/media/StreamTrack.*.
MozReview-Commit-ID: 8boYLcjkiva
--HG--
rename : StreamTracks.cpp => dom/media/StreamTracks.cpp
rename : StreamTracks.h => dom/media/StreamTracks.h
2016-05-04 11:00:07 +08:00
ctai
aeee6ea528
Bug 1266644 - Correct the StramTracks history part 1. r=me
...
The dom/media/StreamTrack.* and StreamTrack.* are the same file.
To keep the full history, need to overwrite StreamTrack.* first.
MozReview-Commit-ID: 4lk0lpY1Tlm
2016-05-04 10:55:59 +08:00
Jean-Yves Avenard
55fcd538e6
Backed out changeset d14dc334734adccc6741093c388e13c7099a8a38 (Bug 1268868: [MSE] P1. Re-enable gap detection within a media segment. r=gerald)
...
MozReview-Commit-ID: IxFqoMce57F
2016-05-04 15:18:39 +10:00
Jan-Ivar Bruaroey
3980373f5f
Bug 1266345 - disable test_mediarecorder_principals.html on linux 64 r=jesup
...
MozReview-Commit-ID: IaGbaNRBQxi
--HG--
extra : rebase_source : bc639e58f7e9202f77caf7aa2022cb84892c6d93
2016-05-02 17:10:47 -04:00
Eugen Sawin
a614659c6d
Bug 1267862 - [1.2] Implement MP3Demuxer::GetBuffered independent of stream length and total duration. r=jya
2016-05-03 15:16:51 +02:00
JW Wang
8bd742f2ee
Bug 1269005. part 1 - add logs to help debugging. r=bechen.
...
MozReview-Commit-ID: KQvqiEKZ2O
2016-05-03 11:28:33 +08:00
Gerald Squelart
40a8d30e46
Bug 1268379 - Delay WMF checks in GMPParent - r=jesup
...
The WMF HasAAC/HasH264 checks were done off the main thread, as soon as the
plugin was loaded, which was way too soon in the overall startup process, when
the WMF subsystem may not have been properly initialized yet, or may be in the
middle of it.
The solution here is to delay these checks until they are actually needed to
respond to a format-support request, as they come later in the process.
Note: This may not be the ideal solution yet, as we are still relying on some
magic sequencing of events. Other avenues have been explored unsuccessfully
yet, but we may want to revisit this issue after this urgent patch has landed.
MozReview-Commit-ID: JVgINc5FLFx
--HG--
extra : rebase_source : 3d02570ed26043d050d4848d968e3c673b35f5c3
2016-05-02 15:03:11 +10:00
Jean-Yves Avenard
6c48713ed0
Bug 1269249: [MSE] P2. Add mochitest verifying behavior. r=jwwang
...
MozReview-Commit-ID: LxEjSyStUIE
--HG--
extra : rebase_source : ac543fd1e691cbd40133ed9a4453ecafbf53e65f
2016-05-02 15:23:53 +10:00
Jean-Yves Avenard
31a0cd2056
Bug 1269249: [MSE] P1. Clamp range to media source duration when media source is ended. r=jwwang
...
MozReview-Commit-ID: KncGDdTISQ8
--HG--
extra : rebase_source : 6d3234e46b21140e935d9b4490ca50c594c00370
2016-05-02 15:21:40 +10:00
Jean-Yves Avenard
ef05761a4e
Bug 1268929: Limit memory allocated for media to 2GiB max. r=gerald
...
MozReview-Commit-ID: JGJLZrGFRe2
--HG--
extra : rebase_source : 9821edb3f8acc44e8196ab5d40e20fd639176408
2016-05-03 10:03:18 +10:00
JW Wang
6197796b59
Bug 1268822 - rename mozilla::gmp::Runnable/SyncRunnable in order not to confuse NS_LOG_ADDREF/NS_LOG_RELEASE. r=rjesup.
2016-05-03 10:37:24 +08:00
Haik Aftandilian
01b38f360c
Bug 1267453 - Amazon Widevine rejects HDCP on MacBook Pro with or without an external display. r=gcp
...
--HG--
extra : amend_source : 6a8094ddea6ac6c50e8ec8c11e0656eaddafc20e
2016-05-02 19:33:08 +02:00
Kaku Kuo
89962fd730
Bug 1266027 part 2 - make MDSM and SeekTask to adopt new MediaDecoderReaderWrapper API; r=jwwang
...
MozReview-Commit-ID: LqZ59A8vju1
--HG--
extra : transplant_source : %CD%E9%154%C4%81%F6%F3bt%FC%D6%BA%9FF7%A5%C1%A1%BE
2016-04-27 14:50:39 +08:00
Kaku Kuo
f78f42e9df
Bug 1266027 part 1 - make the MediaDecoderReaderWrapper as a proxy of requesting media data; r=jwwang
...
MozReview-Commit-ID: CgTBPmtbNfh
--HG--
extra : transplant_source : %16%86%F676/S%C8%5Dj%86%9C%09%0E%D9%16L%DB%92y
2016-04-27 14:50:23 +08:00
Jean-Yves Avenard
e1f2021daa
Bug 1269178: P4. Add mochitest. r=gerald
...
It ensures that resume from waiting for data is correct and the MediaFormatReader internal seek can handle partial GOP.
MozReview-Commit-ID: 1jyv3dajQPv
--HG--
extra : rebase_source : d9aba013aaacc9c19ee6a47ead839adda5c1299e
2016-05-02 13:28:39 +10:00
Jean-Yves Avenard
0eb3dc97f9
Bug 1269178: P3. Add mochitest. r=gerald
...
MozReview-Commit-ID: 2iqZetykYgj
--HG--
extra : rebase_source : b18e35f8ee6d1a714e997d8d131c6731f8de90d4
2016-05-02 11:16:00 +10:00
Jean-Yves Avenard
0508995f47
Bug 1269178: P2. Ensure that no skip to next keyframe logic is activated while there's a pending seek. r=gerald
...
While a seek is pending, the demuxer has been reset meaning that ShouldSkip() would almost always incorrectly return true and would corrupt the seeking state.
MozReview-Commit-ID: 6R912Fu6Nul
--HG--
extra : rebase_source : a20a5d0ed1c0d21c04014790bdf5a0c07edb82a4
2016-05-02 10:53:31 +10:00
Jean-Yves Avenard
a2f6eca10d
Bug 1269178: P1. Retry InternalSeek if previous attempt failed once more data is available. r=gerald
...
MozReview-Commit-ID: DtaKBzxRVR8
--HG--
extra : rebase_source : ad49222ad6405caac6e56cda959cd230b5f9b925
2016-05-01 23:37:09 +10:00
Jean-Yves Avenard
74dc9128dc
Bug 1269177: Wait for demuxing request to complete before treating new data notification. r=gerald
...
MozReview-Commit-ID: LF0YiCJJr3l
--HG--
extra : rebase_source : 05efa1d0be191bc5ceb754a30b5b2c72c09a4228
2016-05-01 20:54:11 +10:00
Gerald Squelart
fe40ee4beb
Bug 1269250 - Fix line endings in test_gmp_playback.html - r=jya
...
MozReview-Commit-ID: AR43LFOYvqu
--HG--
extra : rebase_source : 6030f255798fb32e2759b0b01e72212ce28798e3
2016-05-02 14:04:42 +10:00
Martin Thomson
b5081bf610
Bug 1264470 - a=identity is a long attribute, r=bwc
...
--HG--
extra : rebase_source : 077cb5cf4017cce619ed59decd405d706683d620
2016-04-19 09:10:32 +10:00
Jean-Yves Avenard
74cc8abae0
Bug 1269048: Prevent null deref in debugging information. r=jwwang
...
MozReview-Commit-ID: FKq9dtrdegg
--HG--
extra : rebase_source : 19c71b8aa43a0f5f96b44821cc690f5295dcf79a
2016-05-02 08:49:18 +10:00
Jean-Yves Avenard
902b305d79
Bug 1268868: [MSE] P3. Prevent crash should gap be detected in content. r=gerald
...
If the last frames of a media segment were evicted due to gap detection, mLongestFrameDuration would have been reset.
Additionally, simplify the code by using temporary variables.
MozReview-Commit-ID: HCjuZkgwANN
--HG--
extra : rebase_source : eed2837fd4b05fe3f7c4774c4486a201d0100cf7
2016-04-30 15:43:59 +10:00
Jean-Yves Avenard
924a72bc46
Bug 1268868: [MSE] P2. Reset longest duration after keyframe is seen. r=gerald
...
This makes us closer to the spec, while still allowing some leeway in gap detection which was found to too strict in the past.
MozReview-Commit-ID: 9EPT2e2F6ed
--HG--
extra : rebase_source : 2bdc01667c3aaeae7a72eb5c6861076113a34c59
2016-04-30 13:10:15 +10:00
Jean-Yves Avenard
a5d72eca70
Bug 1268868: [MSE] P1. Re-enable gap detection within a media segment. r=gerald
...
It had originally been added to improve speed though further changes to the processing of frames made this optimization unecessary.
And it means that we don't properly handle invalid media segment with discontinuities within their range.
MozReview-Commit-ID: wGjWEQxLX3
--HG--
extra : rebase_source : 1a14e404c9e4630cab525472978a8c6cbfbc3bd0
2016-04-30 12:41:32 +10:00
Byron Campen [:bwc]
37a184c8eb
Bug 1231975 - Part 7: Disable trickle for the NAT tests, since trickle delays can cause lower priority pairs to get selected. r=drno
...
MozReview-Commit-ID: GaqZQxJ7g2E
--HG--
extra : rebase_source : 576924d843f24b943a7f4f9ead4cd5b83c3b62d1
2016-04-28 09:47:08 -05:00
Byron Campen [:bwc]
c790fde040
Bug 1231975 - Part 6: Disable NAT tests on android due to bug 1266217 r=drno
...
MozReview-Commit-ID: 60vkF8cY08G
--HG--
extra : rebase_source : 09cb3564f933d2f159939e06459a5517425e9c1d
2016-04-21 09:53:36 -05:00
Byron Campen [:bwc]
ff7fa1e45c
Bug 1231975 - Part 1: Basic audio mochitests for NAT scenarios. r=drno
...
MozReview-Commit-ID: 1chfSrXeCL1
--HG--
extra : rebase_source : 12e1d24a7324ff1d87954fa1b56d83d2adaaa530
2016-03-14 13:31:01 -05:00
Byron Campen [:bwc]
73c29a05f5
Bug 1231981 - Part 3: Set up TURN server for webrtc mochitests, when configured to. r=drno
...
MozReview-Commit-ID: CVbAYPrwpuB
--HG--
extra : rebase_source : 7b9b7cc850a7968e9ad778a42e87b9df196307f1
2016-03-04 15:45:57 -06:00
Dan Minor
1eb1d5f91e
Bug 1266112 - Remove unnecessary alignment checks from AudioNodeEngine.cpp; r=padenot
...
Assuming that Bug 1266405 fixed the underlying cause for the unaligned
buffers we were seeing, the checks in AudioBufferAddWithScale and
AudioBlockCopyWithScale shoudl no longer be necessary.
MozReview-Commit-ID: 4OQ4qQVjEP3
--HG--
extra : rebase_source : fda9b1f7604a2732c9dea4985bfd47ce9293bc0f
2016-04-29 08:35:30 -04:00
Jim Mathies
fa8be62cee
Bug 1268714 - Check for failure result or a failed nsresult from SendLoadGMP. r=mccr8
...
MozReview-Commit-ID: 9bE9hfXiBI5
2016-04-29 13:24:30 -05:00
Paul Adenot
6e48370b67
Bug 1268861 - Insert the input data first and then run the graph iteration. r=jesup
...
This allows the graph to immediately process the input data instead of waiting
an iteration.
MozReview-Commit-ID: EGPUlPdKB6K
2016-04-29 15:16:46 +02:00
Vivien Nicolas
766c525d44
Bug 1268428 - Use the raw mic data if all the constraints to disable processing have been passed to gUM. r=jesup
...
MozReview-Commit-ID: LWvjPsEiHhk
--HG--
extra : rebase_source : c9dcaf99b04ab0cba9e28f33c1aee6f5edf3fcb1
2016-04-29 14:08:47 +02:00
Paul Adenot
00e45c5141
Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
...
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
Carsten "Tomcat" Book
dfff02b90d
Backed out changeset fd833da413ad (bug 1268313)
...
--HG--
extra : rebase_source : f857127091900871034f44d89095895abe9932dc
2016-04-29 14:21:25 +02:00
Carsten "Tomcat" Book
de92769e7e
Backed out changeset 4bcb784492bb (bug 1268313)
...
--HG--
extra : rebase_source : f2f752ab73f5bbf31a909892a0fac0f42c894430
2016-04-29 14:21:18 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Carsten "Tomcat" Book
2dc450ceba
Backed out changeset a8bae4554679 (bug 1259831)
...
--HG--
extra : rebase_source : 18ccc0c8c21d4d42afa5e8db22921b5468117b30
2016-04-29 14:21:12 +02:00
Paul Adenot
1011bcc2a0
Bug 1259831 - Remove the auto-suspend logic for AudioContext. r=karlt
...
MozReview-Commit-ID: JoSMPVfbgJb
2016-03-29 16:57:19 +02:00
JW Wang
438a0405e7
Bug 1267936 - make a stronger assertion to catch that MediaDecoder is created when MediaShutdownManager::Shutdown() begins. r=jya.
...
MozReview-Commit-ID: K3OdjMFGEUF
2016-04-29 10:18:35 +08:00
Nicholas Nethercote
2511b2c327
Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
...
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.
MozReview-Commit-ID: 1VS4Dney4WX
--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
12d497cb39
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00
Kyle Huey
72c9966484
Bug 1268313: Part 2 - Replace some NewRunnableMethods with NS_NewNonOwningRunnableMethod. r=froydnj
2016-04-28 14:08:24 -07:00