You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented code that play sequence of mp4 videos from device sdcard using ConcatenatingMediaSource. Now it plays video1, video2. If video1 duration is 10 sec and video2 duration is 12 sec then player play video1 from 0:00 to 0:10 and then video2 from 0:00 to 0:12 so "playlist" duration is 22 sec.
I want to play only parts of videos eg 6 sec from video1 (from 0:02 to 0:08) and then 2 sec from video2 (from 0:03 to 0:05) so "playlist" duration should be 8 sec.
What is the best way to implement it? Should I implement MediaSource interface? Or I can only observe progress and seek player?
The version of ExoPlayer being used.
r2.0.4
The text was updated successfully, but these errors were encountered:
Hi!
I've implemented code that play sequence of mp4 videos from device sdcard using ConcatenatingMediaSource. Now it plays video1, video2. If video1 duration is 10 sec and video2 duration is 12 sec then player play video1 from 0:00 to 0:10 and then video2 from 0:00 to 0:12 so "playlist" duration is 22 sec.
I want to play only parts of videos eg 6 sec from video1 (from 0:02 to 0:08) and then 2 sec from video2 (from 0:03 to 0:05) so "playlist" duration should be 8 sec.
What is the best way to implement it? Should I implement MediaSource interface? Or I can only observe progress and seek player?
r2.0.4
The text was updated successfully, but these errors were encountered: