rtmpsrc

This plugin reads data from a local or remote location specified by an URI. This location can be specified using any protocol supported by the RTMP library, i.e. rtmp, rtmpt, rtmps, rtmpe, rtmfp, rtmpte and rtmpts.

Example launch lines

 gst-launch-1.0 -v rtmpsrc location=rtmp://somehost/someurl ! fakesink

Open an RTMP location and pass its content to fakesink.

Hierarchy

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstElement
                ╰──GstBaseSrc
                    ╰──GstPushSrc
                        ╰──rtmpsrc

Factory details

Authors: – Bastien Nocera , Sebastian Dröge

Classification:Source/File

Rank – primary

Plugin – gstrtmp

Package – GStreamer Bad Plug-ins

Pad Templates

src

ANY

Presencealways

Directionsrc

Object typeGstPad


Properties

blocksize

“blocksize” guint

Size in bytes to read per buffer (-1 = default)

Flags : Read / Write

Default value : 4096


do-timestamp

“do-timestamp” gboolean

Apply current stream time to buffers

Flags : Read / Write

Default value : false


location

“location” gchararray

Location of the RTMP url to read

Flags : Read / Write

Default value : NULL


num-buffers

“num-buffers” gint

Number of buffers to output before sending EOS (-1 = unlimited)

Flags : Read / Write

Default value : -1


timeout

“timeout” gint

Time without receiving any data from the server to wait before to timeout the session

Flags : Read / Write

Default value : 120


typefind

“typefind” gboolean

Run typefind before negotiating (deprecated, non-functional)

Flags : Read / Write

Default value : false


The results of the search are