mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31:00 +00:00
hlssink3: Put EXT-X-ENDLIST for vod playlist-type.
Ideally, when player encounter PLAYLIST-TYPE is VOD, player should not reload the playlist. For playlist-type=vod, initially we put PLAYLIST-TYPE=EVENT, and later change it to VOD, which confuse some players so we shold put ENDLIST here. In any case putting ENDLIST is right thing to do to indicate no new segment will be added to playlist.
This commit is contained in:
parent
4ff2c8f1bc
commit
08c6ab29e1
1 changed files with 1 additions and 3 deletions
|
@ -110,10 +110,8 @@ impl Playlist {
|
|||
MediaPlaylistType::Event => {
|
||||
if self.turn_vod {
|
||||
self.inner.playlist_type = Some(MediaPlaylistType::Vod);
|
||||
self.inner.end_list = false
|
||||
} else {
|
||||
self.inner.end_list = true
|
||||
}
|
||||
self.inner.end_list = true
|
||||
}
|
||||
MediaPlaylistType::Vod => self.inner.end_list = false,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue