Граф коммитов

248 Коммитов

Автор SHA1 Сообщение Дата
JW Wang 1cc6677a90 Bug 1214065 - Remove unused arguments from MediaDecoder::Load() and its friends. r=kinetik. 2015-10-14 11:46:27 +08:00
Kilik Kuo 3b7a3980ff Bug 1213897 - Extract DelayedScheduler out of MDSM to a common class. r=jwwang
--HG--
extra : rebase_source : 5408c282a678fe060d24138eccbe34cf99c8c929
2015-10-13 15:39:01 +08:00
JW Wang 701c985137 Bug 1212701. Part 2 - remove MediaDecoderStateMachine::OnDecodeTaskQueue() which is unused. r=jya. 2015-10-12 12:05:52 +08:00
Kilik Kuo 67185f564b Bug 1211364 - Check frame validity earlier when decoded frames arrive in MDSM. r=jwwang
Rebase to currnet truck

--HG--
extra : transplant_source : %EEOW%D8%0D%9B%C8%F5%90%DB0%0E%BFXgX%98%F4%14%A2
2015-10-07 14:52:05 +08:00
JW Wang 39fbfc7425 Bug 1208934 - Remove usage of decoder monitor from MDSM. r=kinetik. 2015-10-06 10:26:33 +08:00
JW Wang 7435f302de Bug 1209864. Part 1 - make all methods run on the main thread and remove usage of the decoder monitor. r=roc. 2015-09-27 21:37:48 +08:00
JW Wang fd23a5e794 Bug 1208933 - Remove AbstractMediaDecoder::NotifyWaitingForResourcesStatusChanged(). r=jya. 2015-09-27 21:02:18 +08:00
JW Wang 0bb44154c7 Bug 1208932 - Remove ReadMetadataFailureReason::WAITING_FOR_RESOURCES. r=jya. 2015-09-27 20:48:09 +08:00
JW Wang 395e17fb4f Bug 1208922. Part 3 - forward the CDMProxy from MediaDecoder to MediaDecoderReader via MDSM. r=cpearce. 2015-09-27 18:48:59 +08:00
JW Wang 5eb5527e50 Bug 1188643. Buffer more audio in audio capture mode to avoid glitches. r=cpearce. 2015-09-30 10:32:49 +08:00
Nigel Babu 99377b8efb Backed out changeset dcbabf6ce153 (bug 1188643) for linux crashtest bustage 2015-09-24 12:31:20 +05:30
JW Wang bd37364bb2 Bug 1188643. Buffer more audio in audio capture mode to avoid glitches. r=cpearce. 2015-09-24 14:20:38 +08:00
JW Wang 4395bf4e9d Bug 1206607 - Remove some dead code from MDSM. r=kinetik. 2015-09-22 13:55:55 +08:00
JW Wang aeb8ca2f81 Bug 1206578 - Group public and private functions respectively for MDSM. r=gsquelart. 2015-09-22 11:03:08 +08:00
JW Wang 5d35a74e15 Bug 1206576 - Dispatch some MDSM functions to hide its internal thread model. r=jya. 2015-09-21 14:01:45 +08:00
JW Wang 9fd579e930 Bug 1204430. Part 2 - mirror MediaDecoder::mMediaSeekable. r=kinetik. 2015-09-21 13:49:01 +08:00
JW Wang 6064385135 Bug 1172830 - Move buffering check out of MediaDecoderStateMachine::UpdateRenderedVideoFrames(). r=cpearce. 2015-09-15 17:47:26 +08:00
JW Wang 0f170dcc0b Bug 1203877 - Remove MediaDecoder::UpdatePlaybackOffset. r=kinetik. 2015-09-15 13:51:12 +08:00
JW Wang 85ea4009c2 Bug 1203418. Part 2 - duplicate the implementation of MediaDecoder::GetStatistics so MDSM can call it on its own thread. r=cpearce. 2015-09-15 10:04:50 +08:00
James Cheng 6930bc717c Bug 1203047 - Make MediaDecoderReader know less about AudioData/VideoData by using MediaData instead. r=jya
--HG--
extra : rebase_source : 928721bb5a8669445725cab86e43be002f38c88a
2015-09-10 03:06:00 +02:00
JW Wang 57b5b58c47 Bug 1203374. Part 2 - duplicate the implementation of MediaDecoder::CanPlayThrough so MDSM can call its own CanPlayThrough() on its own thread. r=jya. 2015-09-10 16:40:52 +08:00
JW Wang baa34189c7 Bug 1202540 - Remove MDSM::mPlayStartTime. r=kinetik. 2015-09-10 11:31:30 +08:00
JW Wang 857b5c3055 Bug 1202351 - Remove MDSM::mPlayDuration. r=cpearce. 2015-09-10 10:19:42 +08:00
JW Wang 02c6ac3fac Bug 1199562. Part 3 - remove unused code. r=roc. 2015-09-09 10:12:46 +08:00
JW Wang 0bb28ba8f7 Bug 1199562. Part 2 - replace usage of mStreamSink with mMediaSink in most cases. r=roc. 2015-09-09 10:12:35 +08:00
JW Wang ae888fb383 Bug 1199562. Part 1 - rename mAudioSink to mMediaSink as well as related member names. r=roc. 2015-09-09 10:12:23 +08:00
JW Wang 246dd8805c Bug 1199155. Part 3 - rename mDecodedStream to mStreamSink. r=roc. 2015-09-07 19:32:16 +08:00
JW Wang b853505d1f Bug 1199155. Part 2 - fix includes and forward declarations. r=roc. 2015-09-07 19:32:04 +08:00
JW Wang e6b2fb5ebf Bug 1199121. Part 3 - remove unused code. r=kinetik. 2015-09-07 11:58:27 +08:00
JW Wang 7cab08fca3 Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-09-07 11:39:16 +08:00
JW Wang 09c4ea2b2e 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-09-07 11:38:34 +08:00
JW Wang e9850bb954 Bug 1199104. Part 3 - use AudioSinkWrapper in MDSM. r=kinetik. 2015-09-02 14:14:40 +08:00
JW Wang 9d43df8088 Bug 1196112 - Part 1: Ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc
--HG--
extra : source : c678e1317fa0b592169260b7e98a8985abc267ec
2015-08-24 21:05:22 +08:00
Ryan VanderMeulen 0dd8afde85 Backed out changesets b2eb913e58c9 and c678e1317fa0 (bug 1196112) for suspicion of causing bug 1197977. 2015-08-24 16:44:14 -04:00
JW Wang 49cb8ddb20 Bug 1196112. Part 1 - ensure all members except |mShuttingDown| and |mOutputStreamManager| are accessed on the worker thread only. r=roc. 2015-08-24 21:05:22 +08:00
JW Wang 0cee44c98f 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
Matt Woodrow ec61d0727e 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 e2765944f2 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 c56be9724a Bug 1195185. Part 3 - align the life cycle of mData with {Start,Stop}Playback. r=roc. 2015-08-20 13:02:43 +08:00
Kilik Kuo 0581340a0a 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
--HG--
rename : dom/media/AudioSink.cpp => dom/media/mediasink/DecodedAudioDataSink.cpp
rename : dom/media/AudioSink.h => dom/media/mediasink/DecodedAudioDataSink.h
2015-08-18 11:55:01 +08:00
Sebastian Hengst a133c6114b 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 b47fc2fd4d Bug 1195158. Part 4 - remove unused code. r=cpearce. 2015-08-18 11:12:39 +08:00
JW Wang c024260362 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
JW Wang 64e94fc75e 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 15205c18ac Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj
--HG--
extra : rebase_source : d25c43a593a72615259e39ae053376f261aa55ad
2015-08-13 15:22:48 +03:00
JW Wang 42dfd9d8d2 Bug 1191192 - Add DecodedStream::SetSameOrigin(). r=roc. 2015-08-13 09:22:59 +08:00
JW Wang 3a7d265755 Bug 1193603. Part 2 - Fix miscalculation in converting micro seconds to seconds. r=jya. 2015-08-12 18:02:34 +08:00
Alfredo Yang e99d63e741 Bug 1192694: remove mDecodingFrozenAtStateDecoding so decoder can leave dormant normally. r=jwwang 2015-08-11 21:23:41 +10:00
JW Wang c8f63ccc7b 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 c1624b854e Bug 1191173 - Mirror MediaDecoder::mSameOriginMedia in MDSM. r=jya. 2015-08-06 18:05:30 +08:00