rtpdec

rtpdec — Accepts raw RTP and RTCP packets and sends them forward

Synopsis

                    GstRTPDec;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GstRTPDec

Properties

  "skip"                     gint                  : Read / Write
  "latency"                  guint                 : Read / Write

Signals

  "clear-pt-map"                                   : Run Last
  "request-pt-map"                                 : Run Last
  "on-bye-ssrc"                                    : Run Last
  "on-bye-timeout"                                 : Run Last
  "on-new-ssrc"                                    : Run Last
  "on-ssrc-collision"                              : Run Last
  "on-ssrc-validated"                              : Run Last
  "on-timeout"                                     : Run Last

Description

A simple RTP session manager used internally by rtspsrc.

Last reviewed on 2006-06-20 (0.10.4)

Details

GstRTPDec

typedef struct _GstRTPDec GstRTPDec;

Property Details

The "skip" property

  "skip"                     gint                  : Read / Write

skip (unused).

Default value: 0


The "latency" property

  "latency"                  guint                 : Read / Write

Amount of ms to buffer.

Default value: 200

Signal Details

The "clear-pt-map" signal

void                user_function                      (GstRTPDec *gstrtpdec,
                                                        gpointer   user_data)      : Run Last

gstrtpdec :

the object which received the signal.

user_data :

user data set when the signal handler was connected.

The "request-pt-map" signal

GstCaps*            user_function                      (GstRTPDec *rtpdec,
                                                        guint      session,
                                                        guint      pt,
                                                        gpointer   user_data)      : Run Last

Request the payload type as GstCaps for pt in session.

rtpdec :

the object which received the signal

session :

the session

pt :

the pt

user_data :

user data set when the signal handler was connected.

The "on-bye-ssrc" signal

void                user_function                      (GstRTPDec *rtpbin,
                                                        guint      session,
                                                        guint      ssrc,
                                                        gpointer   user_data)      : Run Last

Notify of an SSRC that became inactive because of a BYE packet.

rtpbin :

the object which received the signal

session :

the session

ssrc :

the SSRC

user_data :

user data set when the signal handler was connected.

The "on-bye-timeout" signal

void                user_function                      (GstRTPDec *rtpbin,
                                                        guint      session,
                                                        guint      ssrc,
                                                        gpointer   user_data)      : Run Last

Notify of an SSRC that has timed out because of BYE

rtpbin :

the object which received the signal

session :

the session

ssrc :

the SSRC

user_data :

user data set when the signal handler was connected.

The "on-new-ssrc" signal

void                user_function                      (GstRTPDec *rtpbin,
                                                        guint      session,
                                                        guint      ssrc,
                                                        gpointer   user_data)      : Run Last

Notify of a new SSRC that entered session.

rtpbin :

the object which received the signal

session :

the session

ssrc :

the SSRC

user_data :

user data set when the signal handler was connected.

The "on-ssrc-collision" signal

void                user_function                      (GstRTPDec *gstrtpdec,
                                                        guint      arg1,
                                                        guint      arg2,
                                                        gpointer   user_data)      : Run Last

gstrtpdec :

the object which received the signal.

arg1 :

arg2 :

user_data :

user data set when the signal handler was connected.

The "on-ssrc-validated" signal

void                user_function                      (GstRTPDec *gstrtpdec,
                                                        guint      arg1,
                                                        guint      arg2,
                                                        gpointer   user_data)      : Run Last

gstrtpdec :

the object which received the signal.

arg1 :

arg2 :

user_data :

user data set when the signal handler was connected.

The "on-timeout" signal

void                user_function                      (GstRTPDec *rtpbin,
                                                        guint      session,
                                                        guint      ssrc,
                                                        gpointer   user_data)      : Run Last

Notify of an SSRC that has timed out

rtpbin :

the object which received the signal

session :

the session

ssrc :

the SSRC

user_data :

user data set when the signal handler was connected.