Closed squarebracket closed 5 years ago
Thank you for your PR but we will not be accepting new changes for this repo and will be archived very soon. I would advise you to open your PR against the next iteration of this project at https://github.com/videojs/http-streaming.
Description
Corrects a/v desync for non-muxed live feeds by properly syncing the
timestampOffset
of segment loaders when corresponding segments have different starting DTSs. Note that, since VODs don't calltimestampOffset
, this only affects live feeds.I get sporadic sync problems so I'll still need to look into that.
Specific Changes proposed
timingInfo
of the first finished segment to dispatch afirststarttime
event to the master playlist controllerdtsSync_
of the MPC if it's null (from the event data), then dispatch adtsSync
to the calling segment loader with the receivedstart
andthis.dtsSync_
.dtsSync
event handler on the segment loader sets the timestamp offset from the referenceRequirements Checklist