Jonathan Hao
cdbaddc55e
Bug 1080461 - Part 2: Fix RTSP autoplay. r=bechen, r=jwwang
2015-01-06 09:58:04 +08:00
Jonathan Hao
a5b92ec89e
Bug 1080461 - Part 1: Add IsRealTime() in MediaDecoderStateMachine. r=bechen, r=jwwang
2015-01-06 09:57:53 +08:00
Bobby Holley
82e8ada462
Bug 1114840 - Don't start playback during prerolling. r=cpearce
2014-12-29 23:16:48 -08:00
Bobby Holley
d1af9c784d
Bug 1114840 - Dynamically compute preroll thresholds. r=cpearce
...
Currently, the preroll threshold ends up higher than the ample threshold in the
audio-only case where we slash the audio thresholds by a factor of 8. The best
way to avoid these sorts of bugs is to compute the values dynamically.
2014-12-29 23:16:48 -08:00
Bobby Holley
746d45dc2a
Bug 1114840 - Hoist arms-length conditions and rename StartPlayback() to MaybeStartPlayback(). r=cpearce
2014-12-29 23:16:48 -08:00
Bobby Holley
756be06580
Bug 1114840 - Use StartDecoding() rather than SetState in PlayInternal. r=cpearce
...
This makes sure that decode tasks are dispatched and that all the preroll state
is appropriately set up.
2014-12-29 23:16:48 -08:00
Bobby Holley
87a09e70db
Bug 1114840 - Make MediaDecoderStateMachine::Play run on the state machine thread. r=cpearce
...
We want to invoke StartDecoding() from Play, but that calls into a bunch of stuff
that asserts that we're on the state machine thread. It's not clear to me whether
that's actually necessary, but this seems like the right thing to do regardless
given that this is all supposed to be async anyway.
2014-12-29 23:16:48 -08:00
Bobby Holley
01fe4895c7
Bug 1114830 - Only enter buffering mode when the pending request is waiting for data. r=cpearce a=philor
2014-12-22 20:54:01 -08:00
Bobby Holley
078237732a
Bug 1109437 - Only switch to buffering mode when the reader is waiting for data. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
10d012cc54
Bug 1109437 - Implement non-polling buffering. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
cdd1259acb
Bug 1109437 - Switch m{Audio,Video}RequestPending to a tri-state. r=cpearce
2014-12-22 00:20:31 -08:00
Bobby Holley
4166dff3db
Bug 1109437 - Stop using buffering heuristics when they're not requested. r=cpearce
...
Given that we set the buffering wait to 0 in this case already, the only practical
impact on our behavior of this change is that we'll no longer ping-pong between
states.
2014-12-22 00:20:30 -08:00
Bobby Holley
72d88fedcb
Bug 1109437 - Generalize GetBufferingWait to UseBufferingHeuristics. r=cpearce
2014-12-22 00:20:30 -08:00
Benjamin Chen
6cc8984e6e
Bug 1091992 - fix the flag skipToNextKeyFrame in DecodeVideo can't be raised if the video is slower than audio. r=cpearce, r=jwwang
2014-12-22 11:32:31 +08:00
Matt Woodrow
6803e9da49
Bug 1112446 - Add logging for media queue lengths. r=ajones
2014-12-18 12:41:19 +13:00
Matt Woodrow
94612fe3a0
Bug 1111413 - Part 2: Remove RequestSampleCallback. r=bholley
2014-12-16 23:08:42 +13:00
Matt Woodrow
98dd818ec6
Bug 1111413 - Part 1: Use MediaPromises for seeking. r=bholley
2014-12-16 22:52:57 +13:00
Alfredo Yang
a0051050f9
Bug 1105209 - Add media resource request API. r=kentuckyfriedtakahe
2014-12-15 22:25:00 -05:00
Alastor Wu
aede0b5682
Bug 1100803 - Re-create a decoded media stream if necessary. r=roc
2014-12-15 09:22:15 +08:00
Sotaro Ikeda
ca2e2e5c88
Bug 1108728 - Remove dormant related state from MediaDecoder r=cpearce
2014-12-12 17:29:24 -08:00
Bobby Holley
a68519a020
Bug 1109954 - Make resolve/reject values optional in callback signatures. r=cpearce
2014-12-12 14:22:23 -08: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
Bobby Holley
0e99e7de95
Bug 1108701 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce
2014-12-10 14:03:56 -08:00
Bobby Holley
55609f006c
Bug 1108707 - Make reader shutdown asynchronous. r=cpearce (relanding on a CLOSED TREE because it wasn't the source of the leaks)
2014-12-09 11:43:21 -08:00
Ryan VanderMeulen
85f812e9de
Backed out changeset 18c302f80bce (bug 1108707) for nsTArray_base leaks.
...
CLOSED TREE
2014-12-09 15:49:38 -05:00
Bobby Holley
eb400f0f59
Bug 1108707 - Make reader shutdown asynchronous. r=cpearce
2014-12-09 11:43:21 -08:00
Bobby Holley
301ee83ed7
Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce
2014-12-08 14:45:36 -08:00
Ryan VanderMeulen
8b716a35b2
Backed out changesets ae63e2dda6e0, a9ca0113db3c, and d0a6757e24bd (bug 1097823) for bustage.
...
DONTBUILD CLOSED TREE
2014-12-08 15:00:02 -05:00
Bobby Holley
8aa19738d9
Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce
2014-12-08 11:34:50 -08:00
Andreas Pehrson
9110cac5c4
Bug 1106963 - Resync media stream clock before destroying decoded stream. r=roc
2014-12-04 19:29:00 +01:00
Bobby Holley
bd16d69b15
Backed out changeset c405b4271e64 (bug 1097823)
2014-12-07 17:09:12 -08:00
Bobby Holley
142c54bbb7
Backed out changeset b76636e9f49a (bug 1097823)
2014-12-07 17:09:08 -08:00
Bobby Holley
0fea43410f
Bug 1097823 - Use MediaPromises for RequestAudioData and RequestVideoData. r=cpearce
2014-12-07 11:21:35 -08:00
Bobby Holley
5f6567b606
Bug 1097823 - Move NotDecodedReason from RequestSampleCallback to MediaDecoderReader. r=cpearce
2014-12-07 11:21:34 -08:00
Bobby Holley
6f72e4759f
Bug 1104964 - Make MediaDecoderReader own the task queue. r=cpearce
2014-12-01 21:51:03 -08:00
Bobby Holley
a51815e6f2
Bug 1104964 - Split shutdown initiatation and queue-drain-waiting into separate pieces. r=cpearce
...
This patch shouldn't change any behavior. The upcoming patch takes advantage of
these separate pieces.
2014-12-01 21:51:02 -08:00
Carsten "Tomcat" Book
6c8b78c194
Backed out changeset 9f013d802a78 (bug 1091992) for Android m5 test failures
2014-11-28 10:33:02 +01: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
Chris Pearce
3ca50ae2f0
Bug 1104101 - Ensure we always set mVideoDecodeStartTime when calling RequestVideoData. r=kinetik
2014-11-26 15:39:11 +13: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
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
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
Bobby Holley
6505e9257e
Bug 1100776 - Reference-count MediaData. r=cpearce
2014-11-19 13:01:10 -08:00
Ryan VanderMeulen
f478793c34
Backed out changeset fa836f2dccb6 for introducing new Win7 leaks.
...
CLOSED TREE
2014-11-14 15:24:17 -05:00
Chris Pearce
493483f9b2
Bug 1038031 - Make MP4Reader decode asynchronously - r=kinetik
2014-07-20 12:54:00 +12: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
dbc96fc572
Bug 1096597 - Switch to buffering mode on WAITING_FOR_DATA. r=cpearce
2014-11-11 20:50:22 -08:00