Documentation
¶
Index ¶
- func New(options ...Option) (*interceptor.Registry, error)
- func ReadRTCP(ctx context.Context, rtcpReader interceptor.RTCPReader, ...)
- type AttributeKey
- type BandwidthEstimator
- func (e *BandwidthEstimator) OnNewGCCEstimator(_ string, bwe cc.BandwidthEstimator)
- func (e *BandwidthEstimator) OnNewSCReAMEstimator(_ string, bwe scream.BandwidthEstimator)
- func (e *BandwidthEstimator) RunGCC(ctx context.Context) error
- func (e *BandwidthEstimator) RunSCReAM(ctx context.Context) error
- func (e *BandwidthEstimator) SetMedia(m Media)
- type Media
- type Option
- func RegisterGCC(cb cc.NewPeerConnectionCallback) Option
- func RegisterRFC8888() Option
- func RegisterRFC8888Pion() Option
- func RegisterReceiverPacketLog(rtpLogFileName, rtcpLogFileName string) Option
- func RegisterSCReAM(cb scream.NewPeerConnectionCallback, initialBitrate int) Option
- func RegisterSenderPacketLog(rtpLogFileName, rtcpLogFileName string) Option
- func RegisterTWCC() Option
- func RegisterTWCCHeaderExtension() Option
- type RTCPFeedback
- type Reliability
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadRTCP ¶
func ReadRTCP(ctx context.Context, rtcpReader interceptor.RTCPReader, rtcpChan <-chan RTCPFeedback)
Types ¶
type BandwidthEstimator ¶
type BandwidthEstimator struct {
// contains filtered or unexported fields
}
func NewBandwidthEstimator ¶
func NewBandwidthEstimator(logfile string) (*BandwidthEstimator, error)
func (*BandwidthEstimator) OnNewGCCEstimator ¶
func (e *BandwidthEstimator) OnNewGCCEstimator(_ string, bwe cc.BandwidthEstimator)
func (*BandwidthEstimator) OnNewSCReAMEstimator ¶
func (e *BandwidthEstimator) OnNewSCReAMEstimator(_ string, bwe scream.BandwidthEstimator)
func (*BandwidthEstimator) RunSCReAM ¶
func (e *BandwidthEstimator) RunSCReAM(ctx context.Context) error
func (*BandwidthEstimator) SetMedia ¶
func (e *BandwidthEstimator) SetMedia(m Media)
type Option ¶
type Option func(*interceptor.Registry) error
func RegisterGCC ¶
func RegisterGCC(cb cc.NewPeerConnectionCallback) Option
func RegisterRFC8888 ¶
func RegisterRFC8888() Option
func RegisterRFC8888Pion ¶
func RegisterRFC8888Pion() Option
func RegisterSCReAM ¶
func RegisterSCReAM(cb scream.NewPeerConnectionCallback, initialBitrate int) Option
func RegisterSenderPacketLog ¶
func RegisterTWCC ¶
func RegisterTWCC() Option
func RegisterTWCCHeaderExtension ¶
func RegisterTWCCHeaderExtension() Option
type RTCPFeedback ¶
type RTCPFeedback struct {
Buffer []byte
Attributes interceptor.Attributes
}
type Reliability ¶
type Reliability bool
const ( REQUIRED Reliability = true NOT_REQUIRED Reliability = false )
Click to show internal directories.
Click to hide internal directories.