BaseRTPPayload
Object Hierarchy:
Description:
Provides a base class for RTP payloaders
Namespace: Gst
Package: gstreamer-rtp-0.10
Content:
Properties:
Creation methods:
Methods:
-
public virtual weak Caps get_caps (Pad pad)
-
public virtual FlowReturn handle_buffer (Buffer buffer)
-
public virtual bool handle_event (Pad pad, Event event)
-
public bool is_filled (uint size, ClockTime duration)
Check if the packet with size and duration would exceed the configured
maximum size. configured MTU or max_ptime.
-
public FlowReturn push (Buffer buffer)
Push buffer to the peer element of the payloader. The SSRC, payload type, seqnum and
timestamp of the RTP buffer will be updated first. This function takes ownership of buffer.
-
public FlowReturn push_list (BufferList list)
Push list to the peer element of the payloader. The SSRC, payload type, seqnum and
timestamp of the RTP buffer will be updated first. This function takes ownership of list.
-
public virtual bool set_caps (Caps caps)
-
public void set_options (string media, bool dynamic, string encoding_name, uint32 clock_rate)
Set the rtp options of the payloader. These options will be set in the caps of the payloader.
Subclasses must call this method before calling push or
set_outcaps.
-
public bool set_outcaps (string fieldname)
Configure the output caps with the optional parameters. Variable arguments should be in the form field
name, field type (as a GType), value(s). The last variable argument should be NULL.
Fields: