Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Magic = [4]byte{'L', 'K', 'T', 'S'}
Functions ¶
func StripTrailer ¶
StripTrailer returns the number of bytes to strip from the end of an RTP payload if it contains an LKTS trailer. The trailer is located by checking for the "LKTS" magic suffix and then reading the XORed trailer_len byte immediately before it. Returns 0 if absent or ineligible.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.