-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Hello 👋
In our application we have video player that needs to play multiple concatenated videos. Duration of all those videos is summed up and that is the total duration of timing object. As the time progresses in timing object, the correct url is fetched and set on the video element. We then use mediaSync method to connect our video element with timing object
msyncRef.current = MCorp.mediaSync(
videoRef.current, // react ref to video element
mediaSync.delay, // SkewConverter
mediaSyncOptions // empty object
)We would like to implement is functionality of "double buffer", where next video that should be played is loaded in another video element that is hidden, until the timing object comes to time where this hidden video should be played. Also this hidden video should wait at correct time which doesn't have to be 0.
Is there a good approach to implement this with timingsrc, which is intended to implement this scenario?