open-m3u8 icon indicating copy to clipboard operation
open-m3u8 copied to clipboard

Live playlist

Open samek opened this issue 8 years ago • 2 comments

How can you define a live playlist ? (no #EXT-X-ENDLIST at the end)

samek avatar Apr 29 '16 22:04 samek

.withIsOngoing(true)

MediaPlaylist mediaPlaylist = new MediaPlaylist.Builder()
                .withMediaSequenceNumber(this.seqnum)
                .withTargetDuration((int)Math.ceil(maxDuration))
                .withTracks(tracks)
                .withIsOngoing(true)
                .build();

samek avatar May 03 '16 17:05 samek

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?

Wopple avatar May 03 '16 22:05 Wopple