gst-plugins-rs/net/hlssink3
Rajneesh Soni 08c6ab29e1 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.
2022-07-04 15:15:20 +00:00
..
src hlssink3: Put EXT-X-ENDLIST for vod playlist-type. 2022-07-04 15:15:20 +00:00
tests Update to gst::_log_macro_ 2022-02-21 20:50:01 +01:00
build.rs Add hlssink3 plugin 2021-11-16 08:23:44 +00:00
Cargo.toml Update to m3u8-rs 4.0 2022-04-14 07:41:18 +00:00
LICENSE-MPL-2.0 hlssink3: fix symbolic link to LICENSE file 2021-12-01 15:38:47 +00:00
README.md Add hlssink3 plugin 2021-11-16 08:23:44 +00:00

GStreamer HTTP Live Streaming Plugin

A GStreamer HLS sink plugin. Based on the "hlssink2" element.

The "hlssink3" is feature-equivalent to the "hlssink2" element. Any pipeline that uses "hlssink2" can use the "hlssink3" element and the result should be the same.

The "hlssink3" element has a playlist-type property used to control the behavior of the HLS playlist file. The available values for this property are:

  • null (default): The tag #EXT-X-PLAYLIST-TYPE won't be present in the playlist during the pipeline processing. The playlist will be updated in sync as new segments are available, old segments are removed, keeping N segments as defined in the property playlist-length. This is the default behavior, and is compatible with how "hlssink2" works;
  • "event": The playlist is updated as new segments are available, and the tag #EXT-X-PLAYLIST-TYPE:EVENT is present during processing. No segments will be removed from the playlist. At the end of the processing, the tag #EXT-X-ENDLIST is added to the playlist;
  • "vod": The playlist behaves like the event option (a live event), but at the end of the processing, the playlist will be set to #EXT-X-PLAYLIST-TYPE:VOD.