Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type G711Payloader ¶ added in v1.1.4
type G711Payloader struct{}
G711Payloader payloads G711 packets
type OpusPacket ¶
type OpusPacket struct {
Payload []byte
}
OpusPacket represents the VP8 header that is stored in the payload of an RTP Packet
type OpusPartitionHeadChecker ¶ added in v1.2.0
type OpusPartitionHeadChecker struct{}
OpusPartitionHeadChecker checks Opus partition head
func (*OpusPartitionHeadChecker) IsPartitionHead ¶ added in v1.2.0
func (*OpusPartitionHeadChecker) IsPartitionHead(packet []byte) bool
IsPartitionHead checks whether if this is a head of the Opus partition
type VP8Packet ¶
type VP8Packet struct {
// Required Header
X uint8 /* extended controlbits present */
N uint8 /* (non-reference frame) when set to 1 this frame can be discarded */
S uint8 /* start of VP8 partition */
PID uint8 /* partition index */
// Optional Header
I uint8 /* 1 if PictureID is present */
L uint8 /* 1 if TL0PICIDX is present */
T uint8 /* 1 if TID is present */
K uint8 /* 1 if KEYIDX is present */
PictureID uint16 /* 8 or 16 bits, picture ID */
TL0PICIDX uint8 /* 8 bits temporal level zero index */
Payload []byte
}
VP8Packet represents the VP8 header that is stored in the payload of an RTP Packet
type VP8PartitionHeadChecker ¶ added in v1.2.0
type VP8PartitionHeadChecker struct{}
VP8PartitionHeadChecker checks VP8 partition head
func (*VP8PartitionHeadChecker) IsPartitionHead ¶ added in v1.2.0
func (*VP8PartitionHeadChecker) IsPartitionHead(packet []byte) bool
IsPartitionHead checks whether if this is a head of the VP8 partition
Click to show internal directories.
Click to hide internal directories.