rtmpsink

rtmpsink — Sends FLV content to a server via RTMP

Synopsis

struct              GstRTMPSink;

Implemented Interfaces

GstRTMPSink implements GstURIHandler.

Properties

  "location"                 gchar*                : Read / Write

Description

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 -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.

Synopsis

Element Information

plugin

rtmp

author

Jan Schmidt <thaytan@noraisin.net>

class

Sink/Network

Element Pads

name

sink

direction

sink

presence

always

details

video/x-flv

Details

struct GstRTMPSink

struct GstRTMPSink {
  GstBaseSink parent;
};

Property Details

The "location" property

  "location"                 gchar*                : Read / Write

Location of the file to read.

Default value: NULL