Documentation ¶
Overview ¶
Package rtcpreceiver contains a utility to generate RTCP receiver reports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RTCPReceiver ¶
type RTCPReceiver struct {
// contains filtered or unexported fields
}
RTCPReceiver is a utility to generate RTCP receiver reports.
func New ¶
func New(period time.Duration, receiverSSRC *uint32, clockRate int, writePacketRTCP func(rtcp.Packet)) *RTCPReceiver
New allocates a RTCPReceiver.
func (*RTCPReceiver) ProcessPacketRTCP ¶
func (rr *RTCPReceiver) ProcessPacketRTCP(ts time.Time, pkt rtcp.Packet)
ProcessPacketRTCP extracts the needed data from RTCP packets.
func (*RTCPReceiver) ProcessPacketRTP ¶
func (rr *RTCPReceiver) ProcessPacketRTP(ts time.Time, pkt *rtp.Packet)
ProcessPacketRTP extracts the needed data from RTP packets.
Click to show internal directories.
Click to hide internal directories.