hlssink2

hlssink2

Properties

gchar * location Read / Write
guint max-files Read / Write
guint playlist-length Read / Write
gchar * playlist-location Read / Write
gchar * playlist-root Read / Write
guint target-duration Read / Write

Types and Values

struct GstHlsSink2

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GstObject
            ╰── GstElement
                ╰── GstBin
                    ╰── GstHlsSink2

Implemented Interfaces

GstHlsSink2 implements GstChildProxy.

Description

Synopsis

Element Information

plugin

hls

author

Alessandro Decina <alessandro.d@gmail.com>, Sebastian Dröge <sebastian@centricular.com>

class

Sink

Element Pads

name

audio

direction

sink

presence

request

details

ANY

name

video

direction

sink

presence

request

details

ANY

Functions

Types and Values

struct GstHlsSink2

struct GstHlsSink2;

Property Details

The “location” property

  “location”                 gchar *

Location of the file to write.

Flags: Read / Write

Default value: "segment%05d.ts"


The “max-files” property

  “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


The “playlist-length” property

  “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


The “playlist-location” property

  “playlist-location”        gchar *

Location of the playlist to write.

Flags: Read / Write

Default value: "playlist.m3u8"


The “playlist-root” property

  “playlist-root”            gchar *

Location of the playlist to write.

Flags: Read / Write

Default value: NULL


The “target-duration” property

  “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