RTCPPacket.sdesGetEntry

Get the data of the current SDES item entry. type (when not NULL) will contain the type of the entry. data (when not NULL) will point to len bytes.

When type refers to a text item, data will point to a UTF8 string. Note that this UTF8 string is NOT null-terminated. Use gstrtp.rtcppacket.RTCPPacket.sdesCopyEntry to get a null-terminated copy of the entry.

class RTCPPacket
bool
sdesGetEntry

Parameters

type gstrtp.types.RTCPSDESType

result of the entry type

data ubyte[]

result entry data

Return Value

Type: bool

true if there was valid data.