Commit Graph

1079 Commits

Author SHA1 Message Date
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