GstRtp.RTPBaseDepayloadClass

Fields

Name

Type

Access

Description

handle_event

object

r

custom event handling

packet_lost

object

r

signal the depayloader about packet loss

parent_class

Gst.ElementClass

r

the parent class

process

object

r

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 None, nothing is pushed.

process_rtp_packet

object

r

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.MapFlags.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 None, nothing is pushed out.

set_caps

object

r

configure the depayloader

Methods

None

Details

class GstRtp.RTPBaseDepayloadClass

Base class for RTP depayloaders.