Documentation ¶
Overview ¶
Package rtpdump implements the RTPDump file format documented at https://www.cs.columbia.edu/irt/software/rtptools/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Header ¶
type Header struct { // start of recording (GMT) Start time.Time // network source (multicast address) Source net.IP // UDP port Port uint16 }
Header is the binary header at the top of the RTPDump file. It contains information about the source and start time of the packet stream included in the file.
type Packet ¶
type Packet struct { // Offset is the time since the start of recording in milliseconds Offset time.Duration // IsRTCP is true if the payload is RTCP, false if the payload is RTP IsRTCP bool // Payload is the binary RTP or RTCP payload. The contents may not parse // as a valid packet if the contents have been truncated. Payload []byte }
Packet contains an RTP or RTCP packet along a time offset when it was logged (relative to the Start of the recording in Header). The Payload may contain truncated packets to support logging just the headers of RTP/RTCP packets.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader reads the RTPDump file format
Click to show internal directories.
Click to hide internal directories.