Bug 1877617 - Further increase fuzzing value used for stream start/seek to better support muxed streams with mismatched start times as seen on Twitter/DokiDoki/etc r=padenot

Differential Revision: https://phabricator.services.mozilla.com/D200404
This commit is contained in:
az 2024-02-03 00:13:25 +00:00
Родитель 630aac874f
Коммит 3db6eb0379
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -67,12 +67,10 @@ class MediaSourceDemuxer : public MediaDataDemuxer,
// Largest gap allowed between muxed streams with different
// start times. The specs suggest up to a "reasonably short" gap of
// one second. We conservatively choose to allow a gap up to a bit over
// a half-second here, which is still twice our previous effective value
// and should resolve embedded playback issues on Twitter, DokiDoki, etc.
// one second, which we use here.
// See: https://www.w3.org/TR/media-source-2/#presentation-start-time
static constexpr media::TimeUnit EOS_FUZZ_START =
media::TimeUnit::FromMicroseconds(550000);
media::TimeUnit::FromMicroseconds(1000000);
private:
~MediaSourceDemuxer();