hlssink3
HTTP Live Streaming sink
Hierarchy
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstElement ╰──GstBin ╰──hlssink3
Implemented interfaces
Factory details
Authors: – Alessandro Decina
Classification: – Sink/Muxer
Rank – none
Plugin – hlssink3
Package – gst-plugin-hlssink3
Pad Templates
Signals
delete-fragment
gboolean delete_fragment_callback (GstElement * param_0, gchararray arg0, gpointer udata)
def delete_fragment_callback (param_0, arg0, udata):
#python callback for the 'delete-fragment' signal
function delete_fragment_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
// javascript callback for the 'delete-fragment' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Last
get-fragment-stream
GOutputStream * get_fragment_stream_callback (GstElement * param_0, gchararray arg0, gpointer udata)
def get_fragment_stream_callback (param_0, arg0, udata):
#python callback for the 'get-fragment-stream' signal
function get_fragment_stream_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
// javascript callback for the 'get-fragment-stream' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Last
get-playlist-stream
GOutputStream * get_playlist_stream_callback (GstElement * param_0, gchararray arg0, gpointer udata)
def get_playlist_stream_callback (param_0, arg0, udata):
#python callback for the 'get-playlist-stream' signal
function get_playlist_stream_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
// javascript callback for the 'get-playlist-stream' signal
}
Parameters:
param_0
–
arg0
–
udata
–
Flags: Run Last
Properties
location
“location” gchararray
Location of the file to write
Flags : Read / Write
Default value : segment%%05d.ts
max-files
“max-files” guint
Maximum number of files to keep on disk. Once the maximum is reached, old files start to be deleted to make room for new ones.
Flags : Read / Write
Default value : 10
playlist-length
“playlist-length” guint
Length of HLS playlist. To allow players to conform to section 6.3.3 of the HLS specification, this should be at least 3. If set to 0, the playlist will be infinite.
Flags : Read / Write
Default value : 5
playlist-location
“playlist-location” gchararray
Location of the playlist to write.
Flags : Read / Write
Default value : playlist.m3u8
playlist-root
“playlist-root” gchararray
Base path for the segments in the playlist file.
Flags : Read / Write
Default value : NULL
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)
send-keyframe-requests
“send-keyframe-requests” gboolean
Send keyframe requests to ensure correct fragmentation. If this is disabled then the input must have keyframes in regular intervals.
Flags : Read / Write
Default value : true
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