open-m3u8
open-m3u8 copied to clipboard
Live playlist
How can you define a live playlist ? (no #EXT-X-ENDLIST at the end)
.withIsOngoing(true)
MediaPlaylist mediaPlaylist = new MediaPlaylist.Builder()
.withMediaSequenceNumber(this.seqnum)
.withTargetDuration((int)Math.ceil(maxDuration))
.withTracks(tracks)
.withIsOngoing(true)
.build();
I apologize for not getting back to you sooner, my life is very hectic at the moment.
You are correct, setting withIsOngoing(true)
should prevent the writer from writing the EXT-X-ENDLIST
tag. Is it not working for you?