Documentation ¶
Overview ¶
Package rtcpsender contains a utility to generate RTCP sender reports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RTCPSender ¶
type RTCPSender struct {
// contains filtered or unexported fields
}
RTCPSender is a utility to generate RTCP sender reports.
func New ¶
func New( clockRate int, period time.Duration, timeNow func() time.Time, writePacketRTCP func(rtcp.Packet), ) *RTCPSender
New allocates a RTCPSender.
func (*RTCPSender) LastPacketData ¶
LastPacketData returns metadata of the last RTP packet.
func (*RTCPSender) ProcessPacket ¶
ProcessPacket extracts data from RTP packets.
func (*RTCPSender) SenderSSRC ¶
func (rs *RTCPSender) SenderSSRC() (uint32, bool)
SenderSSRC returns the SSRC of outgoing RTP packets.
Click to show internal directories.
Click to hide internal directories.