hlswebvttsink
HTTP Live Streaming WebVTT Sink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──GstHlsBaseSink ╰──hlswebvttsink
Implemented interfaces
Factory details
Authors: – Seungha Yang
Classification: – Sink/Muxer
Rank – none
Plugin – hlssink3
Package – gst-plugin-hlssink3
Pad Templates
Properties
enable-timestamp-map
“enable-timestamp-map” gboolean
Write X-TIMESTAMP-MAP tag to WebVTT segments
Flags : Read / Write
Default value : true
location
“location” gchararray
Location of the fragment file to write
Flags : Read / Write
Default value : segment%%05d.vtt
mpegts-time-offset
“mpegts-time-offset” guint64
Time offset, in MPEG-TS time (90 kHz clock), corresponding to running-time zero. The default value is 324000000 (1 hour, i.e. 60 * 60 * 90000), which matches the offset used by the mpegtsmux element. If set to UINT64_MAX, the element will use a fixed EXT-X-TIMESTAMP-MAP tag (i.e. MPEGTS:0, LOCAL:00:00:00.000) without handling MPEG-TS PTS wrap-around. This can be useful when generating WebVTT playlists for fMP4-based HLS, where MPEG-TS PES timestamp wrap-around does not apply
Flags : Read / Write
Default value : 324000000
playlist-type
“playlist-type” GstHlsSink3PlaylistType *
The type of the playlist to use. When VOD type is set, the playlist will be live until the pipeline ends execution.
Flags : Read / Write
Default value : unspecified (0)
target-duration
“target-duration” guint
The target duration in seconds of a segment/file. (0 - disabled, useful for management of segment duration by the streaming server)
Flags : Read / Write
Default value : 15
Named constants
GstHlsSink3PlaylistType
Members
unspecified (0) – Unspecified: The tag `#EXT-X-PLAYLIST-TYPE` won't be present in the playlist during the pipeline processing.
event (1) – Event: No segments will be removed from the playlist. At the end of the processing, the tag `#EXT-X-ENDLIST` is added to the playlist. The tag `#EXT-X-PLAYLIST-TYPE:EVENT` will be present in the playlist.
vod (2) – 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`.
The results of the search are