Reputation: 9645
I am geting a HLS stream video which has to be played part by part and between the parts I should show some animations.
For example the first part has 19.2 seconds duration. What will be the best way to schedule exoplayer
to pause after exact duration ?
Currently I am using a handler to pause after exact duration, which of course is not a good solution, because we may have case when video is not loaded.
Upvotes: 2
Views: 690
Reputation: 126
One way is to use ClippingMediaSource. Google it and see if it suits you.
Upvotes: 4