hlsmultivariantsink

HTTP Live Streaming sink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──hlsmultivariantsink

Implemented interfaces

Factory details

Authors: – Sanchayan Maity

Classification:Sink/Muxer

Rank – none

Plugin – hlsmultivariantsink

Package – gst-plugin-hlsmultivariantsink

Pad Templates

audio_%u

ANY

Presencerequest

Directionsink

Object typeHlsMultivariantSinkPad


video_%u

ANY

Presencerequest

Directionsink

Object typeHlsMultivariantSinkPad


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
No description available
arg0
No description available
udata
No description available
Returns (gboolean)
No description available

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
No description available
arg0
No description available
udata
No description available
Returns (GOutputStream *)
No description available

Flags: Run Last


get-init-stream

GOutputStream *
get_init_stream_callback (GstElement * param_0,
                          gchararray arg0,
                          gpointer udata)
def get_init_stream_callback (param_0, arg0, udata):
    #python callback for the 'get-init-stream' signal
function get_init_stream_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
    // javascript callback for the 'get-init-stream' signal
}

Parameters:

param_0
No description available
arg0
No description available
udata
No description available
Returns (GOutputStream *)
No description available

Flags: Run Last


get-multivariant-playlist-stream

GOutputStream *
get_multivariant_playlist_stream_callback (GstElement * param_0,
                                           gchararray arg0,
                                           gpointer udata)
def get_multivariant_playlist_stream_callback (param_0, arg0, udata):
    #python callback for the 'get-multivariant-playlist-stream' signal
function get_multivariant_playlist_stream_callback(param_0: GstElement * param_0, arg0: gchararray arg0, udata: gpointer udata): {
    // javascript callback for the 'get-multivariant-playlist-stream' signal
}

Parameters:

param_0
No description available
arg0
No description available
udata
No description available
Returns (GOutputStream *)
No description available

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
No description available
arg0
No description available
udata
No description available
Returns (GOutputStream *)
No description available

Flags: Run Last


Properties

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


multivariant-playlist-location

“multivariant-playlist-location” gchararray

Location of the multivariant playlist file to write

Flags : Read / Write

Default value : multivariant.m3u8


muxer-type

“muxer-type” GstHlsMultivariantSinkMuxerType *

The muxer to use, cmafmux or mpegtsmux, accordingly selects hlssink3 or hlscmafsink

Flags : Read / Write

Default value : cmaf (0)


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-type

“playlist-type” GstHlsMultivariantSinkPlaylistType *

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

GstHlsMultivariantSinkMuxerType

Members

cmaf (0) – cmaf
mpegts (1) – mpegts

GstHlsMultivariantSinkPlaylistType

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`.

HlsMultivariantSinkPad

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstPad
                ╰──GstProxyPad
                    ╰──GstGhostPad
                        ╰──HlsMultivariantSinkPad

Properties

alternate-rendition

“alternate-rendition” GstStructure *

Alternate Rendition

Flags : Read / Write

Default value :

variant-stream, is-i-frame=(boolean)false, uri=(string)"", bandwidth=(guint64)0, codecs=(string)NULL, audio=(string)NULL, video=(string)NULL;

variant

“variant” GstStructure *

Variant Stream

Flags : Read / Write

Default value :

variant-stream, is-i-frame=(boolean)false, uri=(string)"", bandwidth=(guint64)0, codecs=(string)NULL, audio=(string)NULL, video=(string)NULL;

The results of the search are