# rtmpsink

This element delivers data to a streaming server via RTMP. It uses librtmp, and supports any protocols/urls that librtmp supports. The URL/location can contain extra connection or session parameters for librtmp, such as 'flashver=version'. See the librtmp documentation for more detail

## Example launch line

     gst-launch-1.0 -v videotestsrc ! ffenc_flv ! flvmux ! rtmpsink location='rtmp://localhost/path/to/stream live=1'

Encode a test video stream to FLV video format and stream it via RTMP.

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstBaseSink
                        ╰──rtmpsink

## Implemented interfaces

    GstURIHandler

## Factory details

Authors: – Jan Schmidt <thaytan></thaytan>

Classification: – `Sink/Network`

Rank – primary

Plugin – rtmp

Package – GStreamer Bad Plug-ins

## Pad Templates

### `sink`

    video/x-flv:

Presence – always

Direction – sink

Object type – GstPad

## Properties

### location

    “location” gchararray

RTMP url

Flags : Read / Write

Default value : NULL

The results of the search are