mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
The sample timestamp carried by the emsg box can have a significant delta when comparing to the earliest presentation timestamp of the segment. Using this timestamp to intialize the timestamp offset in TimestampAdjuster will cause the media sample to have a wrong adjusted timestamp. So we should defer adjusting the metadata sample timestamp until the TimestampAdjuster is initialized with a real media sample.
PiperOrigin-RevId: 538172841
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| main | ||
| test | ||