Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Live playlist #36

Open
samek opened this issue Apr 29, 2016 · 2 comments
Open

Live playlist #36

samek opened this issue Apr 29, 2016 · 2 comments

Comments

@samek
Copy link

samek commented Apr 29, 2016

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

@samek
Copy link
Author

samek commented May 3, 2016

.withIsOngoing(true)

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

@Wopple
Copy link
Contributor

Wopple commented May 3, 2016

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants