rtcpsenderset

package
v0.0.0-...-6f888eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RTCPSenderSet

type RTCPSenderSet struct {
	// contains filtered or unexported fields
}

RTCPSenderSet is a set of RTCP senders.

func New

func New(
	tracks gortsplib.Tracks,
	onPacketRTCP func(int, []byte),
) *RTCPSenderSet

New allocates a RTCPSenderSet.

func (*RTCPSenderSet) Close

func (s *RTCPSenderSet) Close()

Close closes a RTCPSenderSet.

func (*RTCPSenderSet) OnPacketRTP

func (s *RTCPSenderSet) OnPacketRTP(trackID int, payload []byte)

OnPacketRTP sends a RTP packet to the senders.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL