Flags

Details

class GstRtp.RTPBufferFlags(value)

Bases: GObject.GFlags

Additional RTP buffer flags. These flags can potentially be used on any buffers carrying RTP packets.

Note that these are only valid for Gst.Caps of type: application/x-rtp (x-rtcp). They can conflict with other extended buffer flags.

New in version 1.10.

RETRANSMISSION = 1048576

The Gst.Buffer was once wrapped in a retransmitted packet as specified by RFC 4588.

REDUNDANT = 2097152

The packet represents redundant RTP packet. The flag is used in gstrtpstorage to be able to hold the packetback and use it only for recovery from packet loss.

New in version 1.14.

LAST = 268435456

Offset to define more flags.

class GstRtp.RTPBufferMapFlags(value)

Bases: GObject.GFlags

Additional mapping flags for GstRtp.RTPBuffer.map().

New in version 1.6.1.

LAST = 16777216

Offset to define more flags

SKIP_PADDING = 65536

Skip mapping and validation of RTP padding and RTP pad count when present. Useful for buffers where the padding may be encrypted.

class GstRtp.RTPHeaderExtensionDirection(value)

Bases: GObject.GFlags

Direction to which to apply the RTP Header Extension

New in version 1.20.

INACTIVE = 0

Neither send nor receive RTP Header Extensions

SENDONLY = 1

Only send RTP Header Extensions GstRtp.RTPHeaderExtensionDirection.RECVONLY: Only receive RTP Header Extensions

RECVONLY = 2
SENDRECV = 3

Send and receive RTP Header Extensions ext

INHERITED = 4

RTP header extension direction is inherited from the stream

class GstRtp.RTPHeaderExtensionFlags(value)

Bases: GObject.GFlags

Flags that apply to a RTP Audio/Video header extension.

New in version 1.20.

ONE_BYTE = 1

The one byte rtp extension header. 1-16 data bytes per extension with a maximum of 14 extension ids in total.

TWO_BYTE = 2

The two byte rtp extension header. 256 data bytes per extension with a maximum of 255 (or 256 including appbits) extensions in total.