# rtmp2src

The rtmp2src element receives input streams from an RTMP server.

Example launch line |[ gst-launch -v rtmp2src ! decodebin ! fakesink ]| FIXME Describe what the pipeline does.

## Hierarchy

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

## Implemented interfaces

    GstURIHandler
    GstRtmpLocationHandler

## Factory details

Authors: – Make.TV, Inc.

Classification: – `Source`

Rank – primary + 1

Plugin – rtmp2

Package – GStreamer Bad Plug-ins

## Pad Templates

### `src`

    video/x-flv:

Presence – always

Direction – src

Object type – GstPad

## Properties

### async-connect

    “async-connect” gboolean

Connect on READY, otherwise on first push

Flags : Read / Write

Default value : true

### extra-connect-args

    “extra-connect-args” gchararray

Parse and append librtmp-style arbitrary data to the "connect" command. It can be used for non-standard authentication with some servers.

The format is a whitespace-separated series of "conn=type:data" strings. Valid types are:

- "B" for boolean with "0" and "1" for false and true, respectively, e.g. "conn=B:1".
- "N" for numbers in double format, e.g. "conn=N:1.23".
- "S" for strings, e.g. "conn=S:somepassword".
- "O" for objects and "N"-prefixed named values are not yet supported.

Flags : Read / Write

Default value : NULL

Since : 1.26

### idle-timeout

    “idle-timeout” guint

The maximum allowed time in seconds for valid packets not to arrive from the peer (0 = no timeout)

Flags : Read / Write

Default value : 0

### no-eof-is-error

    “no-eof-is-error” gboolean

If set, an error is raised if the connection is closed without receiving an EOF RTMP message first. " If not set, those are reported using EOS.

Flags : Read / Write

Default value : false

Since : 1.24

### stats

    “stats” GstStructure *

Retrieve a statistics structure

Flags : Read

Default value :

    GstRtmpConnectionStats, in-chunk-size=(uint)0, out-chunk-size=(uint)0, in-window-ack-size=(uint)0, out-window-ack-size=(uint)0, in-bytes-total=(guint64)0, out-bytes-total=(guint64)0, in-bytes-acked=(guint64)0, out-bytes-acked=(guint64)0;

The results of the search are