Mike Habicher
6a2195c0c0
Bug 1099390 - add reason to onClosed event, r=aosmond,bz
2014-11-25 14:45:00 -05:00
Chris Double
6743c02593
Bug 1104410 - Check mVideoDecoder before usage to prevent nullptr crash - r=kinetik
2014-11-25 17:19:10 +13:00
Matthew Gregan
8364540745
Bug 1104357 - Ensure MediaDecoderReader is shutdown on all exit paths from MediaDecodeTask::Decode. r=cpearce
...
Also adds an assertion to MediaDecoderReader::Shutdown to ensure it is called from the appropriate thread.
2014-11-25 14:09:19 +13:00
Trevor Saunders
333d3d2125
bug 1105074 - make more stuff final r=froydnj
2014-11-25 13:56:07 -05:00
Ryan VanderMeulen
970abf2e16
Backed out changeset 6dad5fe1d22b (bug 1087944) for Linux64 mochitest-e10s orange.
2014-11-26 17:40:52 -05:00
Ryan VanderMeulen
96b12573a9
Backed out changeset e82170d665d8 (bug 1087944)
2014-11-26 17:40:42 -05:00
Paul Adenot
9c2b18c89e
Bug 1087944 - Test for the promise returned by OfflineAudioContext.startRendering(). r=ehsan
...
--HG--
extra : rebase_source : 351f66c2cd7f2c269d7f2c05214d0f291488cf23
2014-11-19 18:18:24 +01:00
Paul Adenot
a1aac031b9
Bug 1087944 - Implement the promise version of OfflineAudioContext. r=ehsan,smaug
...
--HG--
extra : rebase_source : 1ede286a68f592038320ed5b82051bb9dd3cc0db
2014-11-19 11:38:39 +01:00
James Willcox
1cda29e8cc
Bug 1097116 - Disable Android MediaCodec on PowerVR devices r=cpearce
...
--HG--
extra : rebase_source : 8c852f321f5755f4af702011f6cf72ba9c605104
2014-11-26 15:16:08 -06:00
James Willcox
8dd07570c6
Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
...
--HG--
extra : rebase_source : d3165eb2d9534f82c84e3399e744e0c31b64c2dd
2014-11-26 15:16:07 -06:00
Karl Tomlinson
a025074343
bug 1100409 set AudioNodeStream::mLastChunks length only once r=padenot
...
This can be done because AudioNodeEngine::mOutputCount is const.
--HG--
extra : rebase_source : 66f997f5a25c4296d230e8067bf7d7cb1d688029
2014-11-18 16:22:45 +13:00
Karl Tomlinson
3e2f8e6df2
bug 1100409 uninline AudioNodeStream constructor to avoid requiring AudioNodeEngine.h r=padenot
...
--HG--
extra : rebase_source : 4d9fe22d15680e299f0834905f7e45b0ff294049
2014-11-21 08:41:18 +13:00
Matt Woodrow
622ca6978c
Bug 1098678 - Implement TimestampsFuzzyEqual for mp4. r=ajones
2014-11-26 16:50:29 +13:00
Matt Woodrow
3ec73fd05c
Bug 1104426 - Always rebuild the moof index, in case new data has been added. r=ajones
2014-11-26 16:49:22 +13:00
Chris Pearce
3ca50ae2f0
Bug 1104101 - Ensure we always set mVideoDecodeStartTime when calling RequestVideoData. r=kinetik
2014-11-26 15:39:11 +13:00
Alfredo Yang
b4570bf7fb
Bug 1101374: create frame time table to filter the invalid pts frame. r=edwin
2014-11-25 15:35:28 -08:00
Jean-Yves Avenard
2714e8284b
Bug 1101534 - detect SBR (HE-AAC) in AAC streams with implicit signalling. r=rillian
2014-11-28 21:13:18 +11:00
Carsten "Tomcat" Book
8b5a04ae61
Backed out changeset eeb261ef19d6 (bug 1101534) for unified build bustage
2014-11-28 12:00:52 +01:00
Carsten "Tomcat" Book
6c8b78c194
Backed out changeset 9f013d802a78 (bug 1091992) for Android m5 test failures
2014-11-28 10:33:02 +01:00
Chris Peterson
6e4c94eebd
Bug 1105867 - Fix -Wunused-const-variable warnings-as-errors in nonunified build of dom/media/webm. r=kinetik
2014-11-27 00:33:34 -08:00
Jean-Yves Avenard
6b3390d4a1
Bug 1101534 - detect SBR (HE-AAC) in AAC streams with implicit signalling. r=rillian
2014-11-27 13:23:15 +11:00
Jan-Ivar Bruaroey
527f8638a0
Bug 1087528: make pc.id settable from chrome content. r=smaug, r=bwc
2014-11-20 14:43:02 -05:00
Benjamin Chen
1c419c22d9
Bug 1091992 - fix the flag skipToNextKeyFrame in DecodeVideo can't be raised if the video is slower than audio. r=cpearce, r=jwwang
2014-11-26 18:38:38 +08:00
Andreas Pehrson
4c6b203682
Bug 1103848
- Part 2. Use a single source for audio/video track ID constants. r=roc
2014-11-26 21:09:00 +01:00
Andreas Pehrson
d8270a86d0
Bug 1103848
- Part 1. Hint existing output streams as tracks become known. r=roc
2014-11-24 23:53:00 +01:00
Alastor Wu
be0fa8a339
Bug 1090130 - [b2g] can't transcode video file by MediaRecorder API. r=jolin
2014-11-27 18:30:38 +08:00
Jed Davis
35861fc466
Bug 1101170 - Move GMP's LinuxSandboxStarter into plugin-container. r=cpearce r=glandium
2014-11-24 15:22:14 -08:00
Jed Davis
279ab5b3c8
Bug 1101170 - Move sandbox status info into a separate module. r=kang r=glandium
...
This changes the interface so that the code which determines the flags
can live in one place, but checking the flags doesn't need to call into
another library.
Also removes the no-op wrappers for Set*Sandbox when disabled at build
time; nothing used them, one of them was unusable due to having the wrong
type, and all they really accomplish is allowing sloppiness with ifdefs
(which could hide actual mistakes).
2014-11-24 15:22:13 -08:00
Nils Ohlmeier [:drno]
4ff25afeb3
Bug 1101163 - Fix Steeplechase ICE errors if one client is faster then the other. r=spolk
2014-11-18 21:44:00 +01:00
Nils Ohlmeier [:drno]
8219944bb9
Bug 1101770 - add an over all timeout for steeplecahse tests. r=spolk
2014-11-19 14:01:00 +01:00
JW Wang
c6f6f43e11
Bug 1098668 - remember the end time of the last decoded audio sample so that HasLowUndecodedData doesn't need to peek AudioQueue or query AudioClock. r=cpearce
2014-11-20 22:24:00 +01:00
Joe Olivas
ca455e0705
Bug 922314 - Add support for decoding VPx via MediaFoundation on Windows. r=cpearce,kinetik
...
Refactor WebMReader's VPx decoding out to SoftwareWebMVideoDecoder and introduce a new IntelWebMVideoDecoder that uses the MediaFoundation/MFT backend to decode VPx when the requisite hardware and software is available.
2014-11-11 16:30:52 +13:00
Chris Pearce
730081f54c
Bug 1103648 - Ensure we call PlatformDecoderModule::Shutdown on the decode task queue. r=mattwoodrow
2014-11-24 11:43:04 +13:00
Wes Kocher
6f52860db6
Merge inbound to m-c a=merge
2014-11-21 16:35:57 -08:00
Carsten "Tomcat" Book
964c8a9477
Merge mozilla-central to b2g-inbound
2014-11-21 13:02:49 +01:00
Blake Wu
f21146d6ea
Bug 1094614 - Release codec resource properly. r=sotaro
2014-11-20 17:09:48 +08:00
Jan-Ivar Bruaroey
6cdafcd86f
Bug 1075133 - fire onsignalingstatechange as an event. r=drno, r=bwc
2014-11-20 18:05:40 -05:00
Matt Woodrow
b408c910db
Bug 1102658 - Add initial references to the last few AudioData constructor callsites. r=bholley
2014-11-21 15:29:19 +13:00
Benjamin Chen
d2ba6d4789
Bug 1078125 - fix RtspMediaCodecReader::ReadMetadata, start the network streaming before ReadMetadata and enable play-out delay. r=cpearce, r=ethan
2014-11-20 10:22:39 +08:00
Kai-Zhen Li
4cc4024715
Bug 1102144 - Move MOZ_FMP4 code into related compiled flag. r=ajones,bwu
2014-11-21 11:48:22 +08:00
Sotaro Ikeda
5b6033771f
Bug 1101742 - Fix OmxDecoder::mIsVideoSeeking r= cajbir
2014-11-20 06:34:16 -08:00
Chris Pearce ext:(%2C%20Edwin%20Flores%20%3Cedwin%40mozilla.com%3E%2C%20Matt%20Woodrow%20%3Cmwoodrow%40mozilla.com%3E)
498e0af631
Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik,cpearce
2014-07-20 12:54:00 +12:00
Karl Tomlinson
18328f5543
bug 976927 use nsAutoTArray operator= from nsTArray r=froydnj
...
--HG--
extra : rebase_source : 59226888a19e525f4925eabdd93d08bfa7db13a9
2014-11-19 13:29:19 +13:00
Chris Pearce
f5344b4b69
Bug 1100499 - Add GMP API to enumerate records stored on disk. r=jesup
2014-11-21 12:25:12 +13:00
James Willcox
e9da75e581
Back out bug 1097116
2014-11-21 09:47:03 -06:00
James Willcox
76052a1209
Bug 1097116 - Copy the decoded SurfaceTexture into an EGLImage to allow accurate presentation r=jgilbert
2014-11-21 09:28:20 -06:00
Andreas Pehrson
58355e9863
Bug 1102669 - Don't report HaveCurrentData when there are no input streams to TrackUnionStream. r=roc
2014-11-20 19:36:00 +01:00
Andreas Pehrson
a0d0c5cf60
Bug 1102665 - Invalidate stream video frames in the regular stream state event queue. r=roc
2014-11-20 19:10:00 +01:00
Ryan VanderMeulen
b066004440
Backed out changesets 34a66a625618, 32db3daa20fe, and ac15ba8568c5 (bug 1102219) for Gaia unit test failures.
...
--HG--
extra : rebase_source : 0266cc0b2a6568ca653885745f381df8d6d167ec
2014-12-11 11:28:30 -05:00
ziyunfei
43231043f0
Bug 1102219 - Part 3: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till
2014-12-10 20:50:00 -05:00
Bobby Holley
21c1847bed
Backed out changeset 89c9d42ef78e (bug 1109954) for colliding with bug 1108701 on a CLOSED TREE.
2014-12-10 22:56:09 -08:00
Bobby Holley
df95a4fbf6
Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce
2014-12-10 22:38:33 -08:00
Matt Woodrow
4cdb8e73d2
Bug 1108917 - Part 2: Allow eviction of entire decoders that are ahead of the current play position. r=ajones
2014-12-11 10:50:41 +13:00
Matt Woodrow
3073c1ec35
Bug 1109431 - Apply TimestampsFuzzyEqual rounding to the buffered ranges returned from multiple decoders. r=ajones
2014-12-11 10:52:57 +13:00
Matt Woodrow
601a0147d1
Bug 1108917 - Part 1: Attempt to evict data from decoders in start-time order. r=ajones
2014-12-11 10:49:54 +13:00
Phil Ringnalda
621b1fac62
Back out 5 changesets (bug 1098126) for failing like they did on try
...
Backed out changeset 81bdd9d3aa25 (bug 1098126)
Backed out changeset 4b8bb6132ae1 (bug 1098126)
Backed out changeset 4e7a358bdd20 (bug 1098126)
Backed out changeset 36f3e9c34b70 (bug 1098126)
Backed out changeset bd8b11d1e93b (bug 1098126)
2014-12-10 20:01:08 -08:00
Chris Pearce
c5f215516e
Bug 1109861 - Add delegate to manage waiting for the CDM to mark key usable. r=kinetik
2014-12-11 15:59:37 +13:00
Chris Pearce
0a2576fba4
Bug 1109457 - Hook up CDM session close notification to MediaKeySession. r=jwwang
2014-12-11 15:59:37 +13:00
Chris Pearce
9168d76e83
Bug 1101328 - Rely on CDM to report keys as unusable on when removing sessions. r=jwwang
2014-12-11 15:59:37 +13:00
Chris Pearce
7dc53e41c0
Bug 1101328 - Use AsyncEventDispatcher to dispatch keyschange to MediaKeySession, since it doesn't require an nsIDocument. r=peterv
2014-12-11 15:59:37 +13:00
Anthony Jones
e2538905ad
Bug 1098126 - Add CENC support to MoofParser; r=edwin
2014-12-11 15:29:38 +13:00
Wes Kocher
d43fd4f419
Backed out 2 changesets (bug 1108917) for mochitest-2 bustage on a CLOSED TREE
...
Backed out changeset e278ad9face8 (bug 1108917)
Backed out changeset 5c24dfe0cf87 (bug 1108917)
2014-12-10 15:53:21 -08:00
Wes Kocher
1c7227e9e3
Backed out changeset 0b71e08f9d34 (bug 1109431) for mochitest-2 bustage on a CLOSED TREE
2014-12-10 15:52:47 -08:00
Bobby Holley
6a3e8fe7c6
Bug 1108701 - Try to fix b2g jb bustage on a CLOSED TREE. r=me
2014-12-10 15:31:24 -08:00
Ehsan Akhgari
3023408a90
Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku
2014-12-10 17:49:09 -05:00
Matt Woodrow
f02ee7e40f
Bug 1109431 - Apply TimestampsFuzzyEqual rounding to the buffered ranges returned from multiple decoders. r=ajones
...
--HG--
extra : rebase_source : 1ca8f7910db619b90fdc9478bb0dc52a5d16693b
2014-12-11 10:52:57 +13:00
Matt Woodrow
fe983b9546
Bug 1108917 - Part 2: Allow eviction of entire decoders that are ahead of the current play position. r=ajones
...
--HG--
extra : rebase_source : fc7fbd06e9c0c65de1c5ecb07a7a355fe1f6fbe8
2014-12-11 10:50:41 +13:00
Matt Woodrow
954ee2cc5a
Bug 1108917 - Part 1: Attempt to evict data from decoders in start-time order. r=ajones
...
--HG--
extra : rebase_source : c906ca08b4a984a7b3e2ef1cdcaea810b5f5777d
2014-12-11 10:49:54 +13:00
Bobby Holley
a303b15640
Bug 1108701 - Replace AudioDecodeRendezvous with promise-y goodness. r=cpearce,karlt
2014-12-10 14:03:56 -08:00
Bobby Holley
0e99e7de95
Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce
2014-12-10 14:03:56 -08:00
Jean-Yves Avenard
cc9389027c
Bug 1096769 - Rewrite mac audio decoder to support raw AAC. r=rillian
2014-11-20 01:03:30 +11:00
Jacek Caban
46673a2e9e
Bug 1101037 - Fixed dom/media/gmp compilation with mingw. r=nfroyd
2014-11-20 10:52:44 +01:00
Robert O'Callahan
4aed02be9c
Bug 1061046. Part 22: test_mediaStreamAudioSourceNode no longer sees a 1-sample delay. r=karlt
2014-09-23 13:41:58 -04:00
Robert O'Callahan
4e6e2071f7
Bug 1061046. Part 21: Remove rate parameter from StartNonRealtimeProcessing. r=karlt
2014-11-19 23:21:38 +13:00
Robert O'Callahan
3b304fd3c5
Bug 1061046. Part 20: Remove Track::mGraphRate since it's not needed. r=karlt
2014-09-18 17:20:44 +12:00
Robert O'Callahan
c072a388a4
Bug 1061046. Part 19: Eliminate TrackTicks in favour of StreamTime. r=karlt
2014-09-18 17:20:43 +12:00
Robert O'Callahan
fe6507ea4b
Bug 1061046. Part 18: Simplify TrackUnionStream now that there are no rate mismatches. r=karlt
2014-09-18 17:13:17 +12:00
Robert O'Callahan
d5f42a50b4
Bug 1061046. Part 17: Remove some unused TrackRate parameters. r=karlt
2014-09-18 17:13:16 +12:00
Robert O'Callahan
2585e652b3
Bug 1061046. Part 16: Remove most usage of TicksToTimeRoundDown. r=karlt
2014-09-18 17:13:16 +12:00
Robert O'Callahan
0a498abf3c
Bug 1061046. Part 15: Remove most usage of TimeToTicksRoundUp. r=karlt
2014-09-18 17:13:15 +12:00
Robert O'Callahan
5cd6534988
Bug 1061046. Part 14: Remove TimeToTicksRoundDown. r=karlt
2014-09-18 17:13:14 +12:00
Robert O'Callahan
513dbfc635
Bug 1061046. Part 13: Remove rate-conversion functions from Track. r=karlt
...
Also removes some other unnecessary rate conversions.
2014-09-18 17:13:13 +12:00
Robert O'Callahan
adbc44db16
Bug 1061046. Part 12: Simplify AudioNodeExternalInputStream since no resampling is needed. r=karlt
...
Since resampling is not needed, we can preserve the number of input channels in each
input audio block.
2014-09-18 11:51:21 +12:00
Robert O'Callahan
2bbfc2cdc1
Bug 1061046. Part 11: Remove callback rate parameters. r=karlt
2014-09-18 11:51:13 +12:00
Robert O'Callahan
d511188d29
Bug 1061046. Part 10: Remove TrackData::mOutputRate since it's always the graph rate. r=karlt
2014-09-18 11:50:02 +12:00
Robert O'Callahan
8f3a0fe979
Bug 1061046. Part 9: Split SourceMediaStream::AddTrack into a method that adds an audio track and can resample, and a method that can add any track but always uses the graph rate. r=karlt
2014-09-18 11:50:02 +12:00
Robert O'Callahan
2074b1de6b
Bug 1061046. Part 6: Remove MediaDecoderStateMachine's USECS_PER_S video rate and use the graph rate instead. r=karlt
2014-09-18 11:50:01 +12:00
Robert O'Callahan
dc9f62ae56
Bug 1061046. Part 5: Remove MediaEngineTabVideoSource's USECS_PER_S video rate and use the graph rate instead. r=karlt
2014-09-18 11:50:01 +12:00
Robert O'Callahan
1417376ef6
Bug 1061046. Part 4: Remove MediaEngineWebRTCVideo's USECS_PER_S video rate and use the graph rate instead. r=karlt
2014-09-18 11:50:01 +12:00
Robert O'Callahan
f597376dd5
Bug 1061046. Part 3: Remove MediaEngineDefault's VIDEO_RATE and use the graph rate instead. r=karlt
2014-09-18 11:50:01 +12:00
Robert O'Callahan
3a84fbb126
Bug 1061046. Part 2: Remove MediaStreamGraphImpl::AudioSampleRate. r=karlt
2014-09-18 11:50:01 +12:00
Robert O'Callahan
2869783fca
Bug 1061046. Part 1: Move GraphRate() to MediaStreamGraph so it's public. r=karlt
2014-09-18 11:50:01 +12:00
Chris Pearce
2cb15aa44d
Bug 1102103 - Increase CDM voucher size limit. r=kentuckyfriedtakahe
2014-11-20 20:04:52 +13:00
Chris Double
8c2eaf129f
Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce
...
--HG--
extra : rebase_source : b4592fc1c0686a6bb5014a744e605e89f1342645
2014-11-19 17:16:59 +13:00
Chris Double
b62179da9e
Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karlt
...
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called
more than once due to DurationChange.
--HG--
extra : rebase_source : d4c96b982ffa9f5cd0b24e6e3a4ef5dffe9be6f6
2014-11-19 17:16:41 +13:00
Ralph Giles
e959e5f83a
Bug 1093567 - Don't loop forever looking for mp4 tracks. r=ajones.
...
We were ignoring I/O errors from parseChunk().
We must break instead of returning early so mInitCheck gets set correctly.
2014-11-17 16:20:00 -08:00
Bobby Holley
6505e9257e
Bug 1100776 - Reference-count MediaData. r=cpearce
2014-11-19 13:01:10 -08:00
Jean-Yves Avenard
84c46a058e
Bug 1100913 - Fix incorrect playback of MSE with HE-AAC audio streams. r=cajbir
2014-11-18 23:23:00 +11:00
Jean-Yves Avenard
0de0e46326
Bug 1101291 - Add support for libavformat v56. r=k17e
2014-11-19 12:53:59 +11:00
Jacek Caban
c51a1a4a4a
Bug 1100963 - Fixed Windows compilation with disabled sandbox. r=cpearce
2014-11-19 11:07:52 +01:00
Blake
4c826f0b6f
Bug 1100820 - Stop reading output data from MediaCodecProxy. r=edwin.
2014-11-18 18:04:29 +08:00
James Willcox
c5ceddca0a
Bug 1101225 - Don't set the is-adts flag for the Android PDM. r=rillian
...
Pass raw aac frames to the platform, which handles those fine.
2014-11-18 16:01:00 -08:00
Chris Double
b22d071a6f
Backout e62c37b8e6b5 for Mulet test failure
2014-11-19 16:00:09 +13:00
Chris Double
79680ceb75
Backout c8dacd232b02 for Mulet test failure
2014-11-19 15:59:46 +13:00
James Willcox
dfd879a36e
Bug 1099260 - Clean up logging and error handling in AndroidDecoderModule r=cpearce
...
--HG--
extra : rebase_source : 6cbdd6e7f7874ecebbfe464cf167e03996ec7b06
2014-11-18 19:28:49 -06:00
James Willcox
6399f52432
Bug 1097116 - Correctly implement Drain() in AndroidDecoderModule r=cpearce
...
--HG--
extra : rebase_source : 8764f15761c68a6f07a1ce5e0ccd842d56274519
2014-11-18 19:28:24 -06:00
Chris Double
240496795f
Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce
...
--HG--
extra : rebase_source : ca90b01f0f47a64b25d6c6a3cdb752ca14c797c7
2014-11-19 10:58:55 +13:00
Chris Double
dd54ff036e
Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
...
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource duration
is changed instead of calling Remove on SourceBuffers. Updates tests for the
fact that update{start,end} can now be called more than once due to DurationChange.
--HG--
extra : rebase_source : e718144ba2c36b4fa0194719e7f06fe6e931e292
2014-11-19 10:58:51 +13:00
Anthony Jones
192f060f8c
Bug 1036849 - Create SharedDecoderManager and SharedDecoderProxy; r=blakewu
2014-11-05 02:14:00 +13:00
Chris Pearce
fc70ad371b
Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv
2014-11-18 22:13:02 +13:00
Wes Kocher
e0eaae4570
Backed out changeset c7a24854801e (bug 1093567) for crashtest orange
2014-11-18 13:12:00 -08:00
Ralph Giles
c61867e618
Bug 1093567 - Don't loop forever looking for mp4 tracks. r=ajones.
...
We were ignoring I/O errors from parseChunk().
2014-11-17 16:20:00 -08:00
Bobby Holley
4c9ad6bb85
Bug 1099187 - Use fuzz factor for currentTime in addition to duration. r=karlt
2014-11-18 09:58:53 -08:00
Carsten "Tomcat" Book
4af8f7f9ed
Backed out changeset 7fa6291d952d (bug 1095257) for suspicion of causing jit tests
2014-11-18 13:14:36 +01:00
Chris Pearce
c86270ed15
Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz r=peterv
2014-11-18 22:13:02 +13:00
Alastor Wu
eb025ecd6c
Bug 1095381 - [b2g] The encoder error lead to the unexpected crash in the procedure of the MediaRecorder API. r=rlin
2014-11-18 14:40:48 +08:00
Benjamin Chen
e88c9496c8
Bug 1098114 - Remove ReferenceKeeperRunnable because we can release the MediaCodecReader on other thread. r=jwwang
2014-11-17 14:28:10 +08:00
Nils Ohlmeier [:drno]
f7f4224b9b
Bug 864118 - add verification that TURN server is used when provided. r=bwc
2014-11-11 15:37:00 +01:00
Chris Pearce
87504c39b8
Bug 1095257 - backout 54f79521758b due to m3 failures. r=backout r=bz
2014-11-18 19:49:13 +13:00
Chris Pearce
d5eae7d0aa
Bug 1095257 - Implement Navigator.requestMediaKeySystemAccess(). r=edwin r=bz
2014-11-18 17:20:02 +13:00
Wes Kocher
38e06be6be
Backed out changeset 46b6cb002a34 (bug 1036849) for leaks on a CLOSED TREE
2014-11-17 17:16:25 -08:00
Anthony Jones
180e8676fe
Bug 1036849 - Create ShareDecoderManager and SharedDecoderProxy; r=blakewu
2014-11-05 02:14:00 +13:00
Anthony Jones
e21eb05fe6
Bug 1036849 - Clean up AnnexB handling; r=jya
2014-11-18 13:12:58 +13:00
Andrea Marchesini
33dad48e82
Bug 1073615 - One MediaStreamGraph singleton per audioChannel, r=roc
2014-11-17 16:07:55 +00:00
Alfredo Yang
c1f066c22d
Bug 1098994 - Update video output buffer when gets INFO_OUTPUT_BUFFERS_CHANGED from OMX. r=edwin
2014-11-16 19:07:00 +01:00
Jean-Yves Avenard
d104b16262
Bug 1098637 - Enforce FFmpeg's audio decode API. r=edwin
2014-11-15 10:19:55 +11:00
Chris Peterson
cb49d7fc61
Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce
2014-11-14 00:36:20 -08:00
Ryan VanderMeulen
f478793c34
Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
...
CLOSED TREE
2014-11-14 15:24:17 -05:00
Daniel Holbert
cb968a071a
Bug 1098400: Drop now-unused private member-variable 'mConfig' from FFmpegAudioDecoder, to fix clang build warning. r=edwin
2014-11-14 08:42:31 -08:00
Chris Pearce
493483f9b2
Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik
2014-07-20 12:54:00 +12:00
Paul Adenot
c94d9ebc31
Bug 1000264 - Stop checking exceptions on decodeAudioData now that it uses promises, and check it in the promise test file instead. r=bz
...
--HG--
extra : rebase_source : 6860e1ff28b4bbb2d88db5bb5e679fc3da53b169
2014-11-14 09:37:39 +01:00
Paul Adenot
d057a8f79e
Bug 1000264 - Test for the Promise support of AudioContext.decodeAudioData. r=ehsan
...
--HG--
extra : rebase_source : d377b97b4d7c589020932183ad6ad92d703fd207
2014-10-22 11:00:00 +02:00
Paul Adenot
d3761acdac
Bug 1000264 - Make AudioContext.decodeAudioData return a promise. r=ehsan,bz
...
--HG--
extra : rebase_source : 570014ee470ca5493073113ab3bc4bb0933c390a
2014-10-23 12:07:48 +02:00
Chris Pearce
775441cdcb
Bug 1049273 - Expose GMP voucher to GMP at runtime if its present. r=jesup
2014-11-14 21:39:39 +13:00
Chris Pearce
6085d00fda
Bug 1088488 - During GMP loading, zero stack memory after binding origin salt with device id. r=dmajor
2014-11-14 21:39:24 +13:00
Chris Pearce
905719531d
Bug 1088488 - Remove old mechanism that GMPs could use to retrieve the device-bound node id. r=jesup
2014-11-14 21:39:24 +13:00
Chris Pearce
59d25ba946
Bug 1088488 - On Windows only, use librlz and SHA256 code to generate a device-bound node id inside plugin-container, pass to GMP. r=henri,r=jesup
2014-11-14 21:39:18 +13:00
Chris Pearce
fc3525402d
Bug 1088488 - make librlz a library, link into plugin-container. r=glandium
2014-11-14 21:26:24 +13:00
Chris Pearce
a105671700
Bug 1088488 - Change GMPChild to use GMPLoader to load GMPs. r=jesup
2014-11-14 21:26:24 +13:00
Chris Pearce
a9c8867440
Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium
2014-11-14 21:26:24 +13:00
Chris Peterson
42efaac822
Back out changeset c98cb03a8475 (Bug 1098134) for Windows build bustage.
2014-11-14 00:09:58 -08:00
Chris Peterson
b71e7588c7
Bug 1098134 - Fix or suppress warnings in gmp-api, gmp-clearkey, and gmp-plugin and mark as FAIL_ON_WARNINGS. r=cpearce
2014-10-22 00:40:18 -07:00
Matt Woodrow
b7680d3a73
Bug 1098680 - Use the image size rather than the display size when initializing the apple h264 decoders. r=ajones
2014-11-14 17:15:42 +13:00
Matt Woodrow
188781c434
Bug 1098022 - Use Maybe<T> for mLastEndTimestamp in TrackBuffer to differentiate between 0 and unset. r=ajones
2014-11-14 17:12:48 +13:00
James Willcox
a11a769191
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-13 12:47:24 -06:00
Ryan VanderMeulen
d9de42ef04
Backed out changesets 0c9407b0e481, c2c37b2e9fac, and 488700194519 (bug 1000264) for e10s test failures.
...
CLOSED TREE
2014-11-13 12:40:15 -05:00
Alfredo Yang
bca3f59d38
Bug 1098195 - Return false when failing to get output format. r=edwin
2014-11-13 01:26:00 -05:00
Andrew Osmond
5d1b5c317c
Bug 1096078 - Restore use of Destroy() for DOMMediaStream. r=jesup
2014-11-10 10:26:00 -05:00
Blake
2446097203
Bug 1043274 - Use GraphicBuffer on GonkDecoderModule. r=edwin, r=sotaro
2014-11-12 17:34:21 +08:00
Bruce Sun
a37f273a14
Bug 1033903 - Support GraphicBuffer in MediaCodecReader. r=cpearce, r=sotaro
2014-11-13 11:26:13 +08:00
Paul Adenot
6804e75540
Bug 1000264 - Test for the Promise support of AudioContext.decodeAudioData. r=ehsan
...
--HG--
extra : rebase_source : 190819460674ff21ef83d64f419cb912e1e9fd22
2014-10-22 11:00:00 +02:00
Paul Adenot
8a9f927823
Bug 1000264 - Make AudioContext.decodeAudioData return a promise. r=ehsan,bz
...
--HG--
extra : rebase_source : 79e8b89ddc5d08ccdd131f9b827c9110da0238ee
2014-10-23 12:07:48 +02:00
Ralph Giles
070a39e4a1
Bug 1097849 - Enforce sane audio sample rates in MediaEncoder. r=derf
...
We believe the rate is constrained by the audio driver in practice,
but want to verify this assumption. The valid range 8-192 kHz covers
all sample rates in general use for audio data.
Note we must use an error return instead of an assertion since these
bounds are verified by unit tests, which do not catch MOZ_ASSERT().
2014-11-12 11:03:00 -08:00
Jean-Yves Avenard
29097ace99
Bug 1097260 - Ensure video dimensions are known when loadedmetadata is fired. r=cajbir
2014-11-12 20:19:29 +11:00
Jan-Ivar Bruaroey
2cc60f1dfe
Bug 1097224 - Part 3 - test mozCaptureStream over peerConnection. r=jesup, r=drno
2014-11-13 00:59:22 -05:00
Jan-Ivar Bruaroey
523618aae7
Bug 1097224 - Part 2 - correct m-line test in verifySdp in test-harness. r=drno
2014-11-12 23:48:30 -05:00
Jean-Yves Avenard
1afe38d07f
Bug 1075332 - Refactor mac audio decoder. Properly calculate timestamps. r=rillian
...
Also, in order to prevent the MediaDecoderStateMachine to stall waiting for audio data,
feed back as many decoded audio frame as were first submitted to the decoder in one go.
2014-11-12 15:13:02 +11:00
Anthony Jones
0155ca113a
Bug 1097449 - Add locking around libav open/close; r=jya
2014-11-13 17:50:26 +13:00
Ryan VanderMeulen
47ac3838de
Backed out changeset f8ff4c7a978a (bug 1097449) for leaks on a CLOSED TREE.
2014-11-12 22:03:25 -05:00
Chris Double
0c14e4c79b
Back out 462fde31c880 for test failure on Android
2014-11-13 15:39:22 +13:00
Chris Double
20152383cf
Back out ea9e204bc97a for test failure on Android.
2014-11-13 15:38:56 +13:00
Anthony Jones
abec529dc9
Bug 1097449 - Add locking around libav open/close; r=jya
2014-11-13 14:48:08 +13:00
Chris Double
6487b132d9
Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce
...
--HG--
extra : rebase_source : 95a4bf916ddbb6a11ef66f3700a9ef0ed39d0d25
2014-11-13 10:47:38 +13:00
Chris Double
4fa7b9d355
Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
...
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource.
Only run the Range Removal algorithm when MediaSource duration is changed
instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called
more than once due to DurationChange.
--HG--
extra : rebase_source : efe01de2f7c6be09b29e2e19d69d9943c9ab5e52
2014-11-13 10:47:31 +13:00
Ryan VanderMeulen
c74763b5f0
Backed out changeset 3fe4db1f0877 (bug 1097849) for gtest assertions.
...
CLOSED TREE
2014-11-12 15:15:49 -05:00
Jean-Yves Avenard
98997a65af
Bug 1096764: Add Raw AAC sample support to FFmpeg audio decoder. r=edwin
2014-11-11 19:28:33 +11:00
Ralph Giles
b406146c92
Bug 1097849 - Assert sane audio sample rates in MediaEncoder. r=derf
...
We believe the rate is constrained by the audio driver, but we
should verify this assumption. 8-192 kHz covers all sample rates
in general use for audio data.
2014-11-12 11:03:00 -08:00
Paul Adenot
a07a4a99c6
Bug 1083664 - Disable an assert in cubeb_audiounit.c for investigation.
...
--HG--
extra : rebase_source : d46b6fb9d3da9a45ea94435a15bfc3bfee85e9d3
2014-11-12 20:05:05 +01:00
Ryan VanderMeulen
c19aaabc0c
Bug 1083664- Skip dom/media/tests/mochitest on OSX debug.
2014-11-12 12:25:36 -05:00
Ryan VanderMeulen
b905f70962
Backed out changeset 5a476e673470 (bug 1073615) for causing various intermittent failures.
2014-11-12 11:52:30 -05:00
Ryan VanderMeulen
4688a50ded
Bug 1083664 - Disable test_dataChannel_basicAudio.html on OSX debug for frequent assertions.
...
--HG--
extra : rebase_source : 253249f776e464781588eb62a7b3373faf44243e
2014-11-12 10:06:02 -05:00
Jan-Ivar Bruaroey
03dff8971f
Bug 1064674 - mochitest for non-spec set(Local|Remote)Description wo/callbacks. r=jesup, r=drno
2014-09-08 23:36:47 -04:00
Matt Woodrow
d49117d925
Bug 1097375 - Implement MediaSource::setDuration. r=kinetik
...
--HG--
extra : rebase_source : 7e5f5387de5db3deccc6e74222b32f461359beb2
2014-11-12 17:11:33 +13:00
David Major
e70355d1e5
Bug 1091008 bustage fix - the second parameter was unused and removed by changeset 6907c1cb8bc0 CLOSED TREE
...
--HG--
extra : amend_source : 70685616cb814de1f0d8fc641b626682905075e3
2014-11-12 18:24:29 +13:00
Bobby Holley
6bb6f36de7
Bug 1093020 - Tests. r=karlt
2014-11-11 20:50:22 -08:00
Bobby Holley
356c46f407
Bug 1093020 - Don't use a buffering wait for MSE. r=cpearce
2014-11-11 20:50:22 -08:00
Bobby Holley
21c29c6312
Bug 1063323 - Tests. r=cajbir
2014-11-11 20:50:22 -08:00
Bobby Holley
dbc96fc572
Bug 1096597 - Switch to buffering mode on WAITING_FOR_DATA. r=cpearce
2014-11-11 20:50:22 -08:00
Bobby Holley
6b0f6dc55f
Bug 1091008 - Reimplement HasLowUndecodedData in terms of GetBuffered. r=cpearce
...
Since GetBuffered now has a sane implementation for MSE, this should
make this function sane for MSE as well.
2014-11-11 20:50:21 -08:00
Bobby Holley
c2ce46072f
Bug 1091008 - Remove special handling for MSE in HTMLMediaElement::Buffered. r=cajbir
...
The same code will now be reached by invoking this method on the decoder.
2014-11-11 20:50:21 -08:00
Bobby Holley
d114248ee6
Bug 1091008 - Implement a sensible GetBuffered override for MediaSourceReader using the existing GetBuffered on MediaSource. r=cajbir
2014-11-11 20:50:21 -08:00
Bobby Holley
a8b29b832b
Bug 1091008 - Remove the aStartTime argument from MediaDecoderReader::GetBuffered. r=cpearce
...
We now have this stashed on the superclass.
2014-11-11 20:50:21 -08:00
Bobby Holley
bb3c4d25f1
Bug 1091008 - Teach MediaDecoderReader about its start time. r=cpearce
...
Duplicating state is never great, but this lets the reader make calculations
using this immutable state variable without involving the state machine. We
could alternatively punch a hole from MediaDecoderReader to
MediaDecoderStateMachine and access it there, but that would create tighter
coupling, and weird relationships for MSE.
2014-11-11 20:50:20 -08:00
Bobby Holley
36a9fb4e35
Bug 1091008 - Make sure to always set mStartTime via SetStartTime. r=cpearce
2014-11-11 20:50:20 -08:00
Bobby Holley
882a2e8acd
Bug 1091008 - Factor out IsDataCachedToEndOfResource() into a higher-level question and answer it sensibly for MSE. r=cpearce
2014-11-11 20:50:20 -08:00
Chris Double
88a86034eb
Backout 471009c10ae0 for web platform test failure on CLOSED TREE
2014-11-12 17:13:10 +13:00
Chris Double
ac68c94749
Backout 39fcd286ce68 for web platform test failure
2014-11-12 17:12:16 +13:00
Anthony Jones
20feb4c8fb
Bug 1096157 - Add IsMediaSegmentPresent() for MP4; r=mattwoodrow
2014-11-12 16:37:43 +13:00
Chris Double
2fb56f7879
Bug 1065215 - Fix EME test for changes to MediaSource::endOfStream - r=cpearce
2014-11-12 15:53:47 +13:00
Chris Double
1078731c5e
Bug 1065215 - MSE endOfStream() called within an 'updateend' event can fail with 'object no longer usable' - r=karl
...
Reopens the MediaSource when SourceBuffer::Remove is called on an Ended
MediaSource. Only run the Range Removal algorithm when MediaSource
duration is changed instead of calling Remove on SourceBuffers.
Updates tests for the fact that update{start,end} can now be called more than once due to DurationChange.
2014-11-12 15:53:43 +13:00
Chris Double ext:(%20with%20tweaks%20by%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
ff5415dbf5
Bug 1089937 Add a fuzz time to end times for MSE reader switching on EOS r=karl,mattwoodrow
...
mLast{Audio,Video}Time differs from the actual end time because of
Bug 1065207 - the duration of a WebM fragment is an estimate not the
actual duration. In the case of audio time an example of where they
differ would be the actual sample duration being small but the
previous sample being large. The buffered end time uses that last
sample duration as an estimate of the end time duration giving an end
time that is greater than mLastAudioTime, which is the actual sample
end time.
Reader switching is based on the buffered end time though so we can't use
the actual sample end time for switching comparison.
For this reason we use the end time from the buffers to compare if we
should switch readers in this patch. We also add an EOS_FUZZ_US to allow
for the fact that it is an estimate and can differ slightly from actual times.
--HG--
extra : rebase_source : 47149609119c5dcd1ca7374501dd7c1e285469ef
2014-11-12 12:12:21 +13:00
Matthew Gregan
a14a83ab0f
Bug 1096750 - use getPlayableVideos in test_video_in_audio_element.
2014-11-12 15:39:46 +13:00
Matthew Gregan
fb84352191
Bug 1096750 - Expect error event in test_video_in_audio_element if used with video-only media. r=cpearce
2014-11-11 15:52:37 +13:00
Seth Fowler
f72fd5c619
Bug 1071217 - Explicitly initialize the image module from gfxPlatform::Init. r=bas
...
--HG--
extra : rebase_source : c4c96ff051347dd85e053669533bd00d6120c75a
2014-11-11 17:28:50 -08:00
Ryan VanderMeulen
719f9216c7
Backed out 7 changesets (bug 1086693) for Android bustage on a CLOSED TREE. DONTBUILD
...
Backed out changeset 6eed18d830d2 (bug 1086693)
Backed out changeset b67a2e48f281 (bug 1086693)
Backed out changeset 2b4b439e7e6c (bug 1086693)
Backed out changeset 3adfd767a92f (bug 1086693)
Backed out changeset 6ea8b9247915 (bug 1086693)
Backed out changeset 408af1e3b457 (bug 1086693)
Backed out changeset 4c759b83892a (bug 1086693)
2014-11-11 16:13:15 -05:00
James Willcox
947ae1c3a2
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-11 14:46:09 -06:00
Ryan VanderMeulen
79ce99d826
Bug 1071217 - Disable test_imagecapture.html on Android due to going permafail.
...
CLOSED TREE
2014-11-11 14:43:04 -05:00
Andrea Marchesini
c30005c81b
Bug 1073615 - One MediaStreamGraph singleton per audioChannel. r=roc
2014-09-29 03:43:00 -04:00
Chris Pearce
0e506710a9
Bug 1096125 - Backout c129289d32d6 as Adobe/EME doesn't actually need those DLLs for OPM handshake. r=backout.
2014-11-11 15:00:02 +13:00
Matthew Gregan
03538a225e
Bug 1091704 - Delay buffer frame calculation in WMF audio decoder until after UpdateOutputType to avoid using obsolete rate/channel values. r=cpearce
2014-11-11 14:17:09 +13:00