RTCPBuffer.addPacket

Add a new packet of type to rtcp. packet will point to the newly created packet.

Parameters

type gstrtp.types.RTCPType

the #GstRTCPType of the new packet

packet gstrtp.rtcppacket.RTCPPacket

pointer to new packet

Return Value

Type: bool

true if the packet could be created. This function returns false if the max mtu is exceeded for the buffer.