hlscmafsink

HTTP Live Streaming CMAF Sink

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBin
                    ╰──GstHlsBaseSink
                        ╰──hlscmafsink

Implemented interfaces

Factory details

Authors: – Seungha Yang

Classification:Sink/Muxer

Rank – none

Plugin – hlssink3

Package – gst-plugin-hlssink3

Pad Templates

sink

video/x-h264:
  stream-format: { (string)avc, (string)avc3 }
      alignment: au
          width: [ 1, 65535 ]
         height: [ 1, 65535 ]
video/x-h265:
  stream-format: { (string)hvc1, (string)hev1 }
      alignment: au
          width: [ 1, 65535 ]
         height: [ 1, 65535 ]
audio/mpeg:
    mpegversion: 4
  stream-format: raw
       channels: [ 1, 65535 ]
           rate: [ 1, 2147483647 ]

Presencealways

Directionsink

Object typeGstPad


Signals

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


Action Signals

new-playlist

g_signal_emit_by_name (param_0, "new-playlist");
ret = param_0.emit ("new-playlist")
let ret = param_0.emit ("new-playlist");

Parameters:

param_0 (GstElement *)
No description available

Flags: Run Last / Action


Properties

init-location

“init-location” gchararray

Location of the init fragment file to write

Flags : Read / Write

Default value : init%%05d.mp4


latency

“latency” guint64

Additional latency to allow upstream to take longer to produce buffers for the current position (in nanoseconds)

Flags : Read / Write

Default value : 7500000000


location

“location” gchararray

Location of the fragment file to write

Flags : Read / Write

Default value : segment%%05d.m4s


playlist-root-init

“playlist-root-init” gchararray

Base path for the init fragment 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)


sync

“sync” gboolean

Sync on the clock

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


The results of the search are