JW Wang
8c50add939
Bug 1195632. Part 2 - Have DecodedStream listen to push events of the media queues and call SendData() on its own without the help of MDSM. r=roc.
2015-08-24 10:04:21 +08:00
JW Wang
b42dce46e8
Bug 1195632. Part 1 - Let DecodedStream have a worker thread and asset some funtions on the worker thread. r=roc.
2015-08-24 09:55:30 +08:00
Edwin Flores
e54922879c
Bug 1197051 - Don't try to decode ahead while seeking - r=jya
2015-08-21 17:25:46 +10:00
Matt Woodrow
b737d30e9d
Bug 1196417 - Make video software fallback only affect the current video instead of the entire browser. r=cpearce
2015-08-20 11:43:36 -04:00
Matt Woodrow
2b4a4abd54
Bug 1196408 - Make sure we only report a corrupt/slow video frame once. r=cpearce
2015-08-20 11:39:49 -04:00
JW Wang
bfef40beca
Bug 1195185. Part 3 - align the life cycle of mData with {Start,Stop}Playback. r=roc.
2015-08-20 13:02:43 +08:00
JW Wang
791fc93907
Bug 1195185. Part 1 - rename Connect/Remove to AddOutput/RemoveOutput. r=roc.
2015-08-20 13:02:20 +08:00
Kilik Kuo
fa4c4819ee
Bug 1188268 - Make AudioSink a base class, create DecodedAudioDataSink to act as original AudioSink, and move sink-related files to dom/media/mediasink. r=jwwang, r=cpearce
2015-08-18 11:55:01 +08:00
Sebastian Hengst
a240503938
Backed out changesets 7610baf4a3ae, 6226b99f19bd, 157e41e32906, 60a3b1862f71 (bug 1195158). r=backout
...
Backed out changeset 7610baf4a3ae (bug 1195158)
Backed out changeset 6226b99f19bd (bug 1195158)
Backed out changeset 157e41e32906 (bug 1195158)
Backed out changeset 60a3b1862f71 (bug 1195158)
2015-08-18 10:52:09 +02:00
JW Wang
3709f4768a
Bug 1195158. Part 4 - remove unused code. r=cpearce.
2015-08-18 11:12:39 +08:00
JW Wang
539b3a0c31
Bug 1195158. Part 3 - connect listeners. r=cpearce.
...
a. MediaMetadataManager is connected to MediaDecoderReader::mTimedMetadataEvent to receive TimedMetadata events.
b. OggReader publish TimedMetadata events through MediaDecoderReader::mTimedMetadataEvent.
c. MDSM calls MediaMetadataManager::DispatchMetadataIfNeeded to publish metadata if playback positoin reaches the publish time.
d. MediaDecoder is connected to MediaMetadataManager::mTimedMetadataEvent to receive TimedMetadata events.
e. MediaDecoder updates its metadata when TimedMetadata events are received.
2015-08-18 11:12:39 +08:00
Bobby Holley
f691b71cd3
Bug 1188976 - Rename ProxyMediaCall to InvokeAsync. r=froydnj
2015-08-17 14:54:42 -07:00
Karl Tomlinson
b92d49216f
bug 962719 use unsigned ints for FrameID and ProducerID for defined overflow behavior r=roc
2015-08-12 11:02:41 +12:00
JW Wang
e10c468bcc
Bug 1191696. Part 1 - Handle the promise returned by DecodedStream::StartPlayback in MDSM. r=roc.
2015-08-17 07:52:28 +08:00
Aryeh Gregor
888a54c11b
Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj
2015-08-13 15:22:48 +03:00
JW Wang
bd8676f33f
Bug 1191192
- Add DecodedStream::SetSameOrigin(). r=roc.
2015-08-13 09:22:59 +08:00
JW Wang
89c5636186
Bug 1193603. Part 2 - Fix miscalculation in converting micro seconds to seconds. r=jya.
2015-08-12 18:02:34 +08:00
Alfredo Yang
6e5b37f75d
Bug 1192694: remove mDecodingFrozenAtStateDecoding so decoder can leave dormant normally. r=jwwang
2015-08-11 21:23:41 +10:00
JW Wang
d67f59b6ae
Bug 1191684 - Remove unnecessary calls to NotifyAll() on the decoder monitor since no one calls Wait(). r=cpearce.
2015-08-10 09:54:48 +08:00
JW Wang
f9638e148a
Bug 1191171 - Add SetVolume() to DecodedStream. r=roc.
2015-08-07 10:29:31 +08:00
JW Wang
b2bf484166
Bug 1191173 - Mirror MediaDecoder::mSameOriginMedia in MDSM. r=jya.
2015-08-06 18:05:30 +08:00
JW Wang
ceae7f06e1
Bug 1189624 - Have AudioSink listen to MediaQueue events to know whether to continue playback. r=kinetik.
2015-08-06 10:16:49 +08:00
JW Wang
dc8ea3c68f
Bug 1188257 - Use MediaEventSource for MediaQueue to do the job. r=cpearce.
2015-08-06 10:14:15 +08:00
Bobby Holley
75645bdcf4
Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce
2015-08-04 14:00:25 -07:00
Sotaro Ikeda
1edbe2e216
Bug 1189206 - Remove worng mCurrentPosition update r=cpearce
2015-08-04 06:45:44 -07:00
Karl Tomlinson
22963e08c2
bug 1190285 remove unused HaveEnoughBuffered r=padenot
2015-07-31 18:54:05 +12:00
Kilik Kuo
41d43e3209
Bug 1186367 - Make MDSM more ignorant of AudioData/VideoData via using MediaQueue<MediaData> instead. r=jwwang
2015-07-28 00:21:33 +08:00
Benjamin Chen
6a60f136fb
Bug 1186752 - Remove ScheduleStateMachine() in MediaDecoder.cpp since we have state mirror. r=jwwang
2015-07-23 18:39:09 +08:00
Paul Adenot
b1747bd00f
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Jean-Yves Avenard
8e0704e57e
Bug 1185972
: P6. Ensure exiting dormant mode has completed seek before notifying decoder. r=jwwang
2015-07-27 14:52:40 +10:00
Jean-Yves Avenard
24f351d0b2
Bug 1185972
: P4. Initiate seek as early as conditions permit. r=jwwang
...
We can initiate a seek as soon as we have a start time and metadata have been read.
However, only enable this feature for MSE as some tests expect events in a specific order.
2015-07-27 14:52:30 +10:00
Jean-Yves Avenard
96262b4dd0
Bug 1185972
: P3. Don't reduce our buffer threshold coming out of dormant mode. r=jwwang
...
Each time we would come out of dormant mode, the buffer threshold for audio-only stream would be reduced.
2015-07-27 14:52:25 +10:00
Jean-Yves Avenard
ae50bb7910
Bug 1185972
: P2. Refactor handling of first frame decoded. r=jwwang
2015-07-27 14:52:20 +10:00
Jean-Yves Avenard
c6c1ed3337
Bug 1185972
: P1. Remove DECODER_STATE_DECODING_FIRSTFRAME state. r=jwwang
...
We want to be able to process the steps following decoding of the first frame
independent of a state.
2015-07-27 14:52:16 +10:00
Wes Kocher
b3c5403835
Backed out 14 changesets (bug 1156472) for test_getUserMedia_audioCapture.html failures on b2g emulator
...
Backed out changeset deec8eb18346 (bug 1156472)
Backed out changeset 0f5bec4c05ba (bug 1156472)
Backed out changeset 2dd83ac00bf9 (bug 1156472)
Backed out changeset abd4e47887f7 (bug 1156472)
Backed out changeset 4824d9874663 (bug 1156472)
Backed out changeset 12805598e6fa (bug 1156472)
Backed out changeset e2f0062a1f67 (bug 1156472)
Backed out changeset 99ef8e436a7f (bug 1156472)
Backed out changeset 65bbfc1546af (bug 1156472)
Backed out changeset 2ab4f16eaf0a (bug 1156472)
Backed out changeset 7f565685e20a (bug 1156472)
Backed out changeset 28c03c98cb2b (bug 1156472)
Backed out changeset d477cfba6e1d (bug 1156472)
Backed out changeset 9819fa56caa1 (bug 1156472)
2015-07-24 13:15:57 -07:00
Paul Adenot
1aa09e9a29
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
Carsten "Tomcat" Book
4db694f526
Backed out 14 changesets (bug 1156472) for bustage on a CLOSED TREE
...
Backed out changeset 2ddbf85a42c0 (bug 1156472)
Backed out changeset 306d02e17081 (bug 1156472)
Backed out changeset 03598139f39a (bug 1156472)
Backed out changeset 4b1e6069b598 (bug 1156472)
Backed out changeset 6c588a5eaaec (bug 1156472)
Backed out changeset 8c98d7beaea7 (bug 1156472)
Backed out changeset fbf59fbb5875 (bug 1156472)
Backed out changeset 66479dd9eed9 (bug 1156472)
Backed out changeset c8502deeed33 (bug 1156472)
Backed out changeset 1a60ff1149a1 (bug 1156472)
Backed out changeset af1638279785 (bug 1156472)
Backed out changeset 8210276a98ca (bug 1156472)
Backed out changeset 13730e7c5997 (bug 1156472)
Backed out changeset 05acb71cf981 (bug 1156472)
2015-07-24 17:08:37 +02:00
Paul Adenot
31d7786b05
Bug 1156472 - Part 7 - Allow to un-capture an HTMLMediaElement. r=pehrsons,jwwang
2015-07-24 14:28:17 +02:00
JW Wang
bc6998fae7
Bug 1186801 - Remove decoder monitor from AudioSink. r=kinetik.
2015-07-24 14:24:42 +08:00
JW Wang
683b8fea66
Bug 1186358. Part 1 - Remove dependency on MediaDecoderStateMachine from AudioSink. r=kinetik.
2015-07-23 19:57:58 +08:00
JW Wang
dee0f6daa3
Bug 1184874. Part 3 - call mDecoder->UpdatePlaybackOffset in On{Audio,Video}Popped and remove MediaDecoderStateMachine::DispatchOnPlaybackOffsetUpdate. r=cpearce.
2015-07-23 14:14:16 +08:00
JW Wang
9ba6f9216e
Bug 1184874. Part 2 - add the ability to know which item is popped from the MediaQueue. r=cpearce.
2015-07-23 14:12:28 +08:00
JW Wang
cb68555d4c
Bug 1185892. Part 3 - replace all calls to MediaDecoder::IsExpectingMoreData() with MediaResource::IsExpectingMoreData. r=jya.
2015-07-22 20:58:00 +08:00
JW Wang
aeaaf02bdf
Bug 1186299 - Consolidate AudioSink::PrepareToShutdown and AudioSink::Shutdown into one function. r=kinetik.
2015-07-22 18:52:13 +08:00
JW Wang
d870989150
Bug 1185416 - Don't stop AudioSink prematurely when decoding is completed. r=kinetik.
2015-07-19 21:25:02 +08:00
JW Wang
179648e075
Bug 1185407. Part 1 - have AudioSink::Init() return a promise. r=kinetik.
2015-07-22 09:54:06 +08:00
Jean-Yves Avenard
57512d3c00
Bug 1177452: Ensure start time is always calculated on first frame decoding. r=jwwang
2015-07-21 10:14:48 +10:00
JW Wang
1fc90a8444
Bug 1183518. Part 2 - Move update of mIgnoreProgressData to main thread. r=cpearce.
2015-07-20 14:34:18 +08:00
JW Wang
72a77bbfb4
Bug 1183518. Part 1 - move calls to mResource->SetReadMode out of Mediadecoder::{Start,Stop}ProgressUpdates since they are not related to progress update. r=roc.
2015-07-20 14:29:10 +08:00
Bobby Holley
f6c385f04d
Bug 1184634
- Move various includes into the mozilla namespace. r=gerald
...
I did my a quick best-effort pass to fix up the most egregious ordering
problems. I left some big pre-existing messes alone.
2015-07-16 22:23:18 -07:00