mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
a3cc6128d3
In this patch, we first deal with the case of MediaElement. Now we replace |PlayVideo| with |VideoFrameContainer::SetCurrentFrames| in |SourceMediaStream::AppendToTrack|. The MSG use TimeStamp::Now() for the TimeStamp of each video frame in most of case except MediaElement case. Becasue the MediaElement has its own VideoQueue, we need to calucalte the correct Timestamp based on the StartTimeStamp of this MediaStream and the elpased time of the video frame in DecodedStream. MozReview-Commit-ID: 2bm2AHkFXHu --HG-- extra : amend_source : 7b9c51dcb4046c6c807d1cf1e48bef301e45fa8e |
||
---|---|---|
.. | ||
AudioSink.h | ||
AudioSinkWrapper.cpp | ||
AudioSinkWrapper.h | ||
DecodedAudioDataSink.cpp | ||
DecodedAudioDataSink.h | ||
DecodedStream.cpp | ||
DecodedStream.h | ||
MediaSink.h | ||
moz.build | ||
OutputStreamManager.cpp | ||
OutputStreamManager.h | ||
VideoSink.cpp | ||
VideoSink.h |