Documentation
¶
Index ¶
Constants ¶
View Source
const (
RTP_HEADER_SIZE = 12
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RtpExtension ¶
type RtpExtension struct {
// contains filtered or unexported fields
}
Extension RTP Header extension
type RtpHeader ¶
type RtpHeader struct {
Version uint8
Padding bool
Extension bool
Marker bool
PayloadType uint8
SequenceNumber uint16
Timestamp uint32
SSRC uint32
CSRC []uint32
ExtensionProfile uint16
Extensions []RtpExtension
}
RtpHeader represents an RTP packet header
func (*RtpHeader) MarshalSize ¶
MarshalSize returns the size of the header once marshaled.
type RtpPacket ¶
Packet represents an RTP Packet
func (*RtpPacket) FmtString ¶
String helps with debugging by printing packet information in a readable way
func (*RtpPacket) MarshalSize ¶
MarshalSize returns the size of the packet once marshaled.
Click to show internal directories.
Click to hide internal directories.