GstRTPBaseDepayloadClass

Base class for RTP depayloaders.

Members

Variables

GstReserved
void*[3] GstReserved;
handleEvent
bool function(GstRTPBaseDepayload* filter, GstEvent* event) handleEvent;

custom event handling

packetLost
bool function(GstRTPBaseDepayload* filter, GstEvent* event) packetLost;

signal the depayloader about packet loss

parentClass
GstElementClass parentClass;

the parent class

process
GstBuffer* function(GstRTPBaseDepayload* base, GstBuffer* in_) process;

process incoming rtp packets. Subclass must implement either this method or @process_rtp_packet to process incoming rtp packets. If the child returns a buffer without a valid timestamp, the timestamp of the provided buffer will be applied to the result buffer and the buffer will be pushed. If this function returns null, nothing is pushed.

processRtpPacket
GstBuffer* function(GstRTPBaseDepayload* base, GstRTPBuffer* rtpBuffer) processRtpPacket;

Same as the process virtual function, but slightly more efficient, since it is passed the rtp buffer structure that has already been mapped (with GST_MAP_READ) by the base class and thus does not have to be mapped again by the subclass. Can be used by the subclass to process incoming rtp packets. If the subclass returns a buffer without a valid timestamp, the timestamp of the input buffer will be applied to the result buffer and the output buffer will be pushed out. If this function returns null, nothing is pushed out. Since: 1.6.

setCaps
bool function(GstRTPBaseDepayload* filter, GstCaps* caps) setCaps;

configure the depayloader