play

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RTCPReader

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

RTCPReader is very similar to servertransport.rtcpReader. Perhaps unify them.

func NewRTCPReader

func NewRTCPReader(params RTCPReaderParams) *RTCPReader

func (*RTCPReader) Close

func (r *RTCPReader) Close()

func (*RTCPReader) ReadRTCP

func (r *RTCPReader) ReadRTCP() ([]rtcp.Packet, interceptor.Attributes, error)

type RTCPReaderParams

type RTCPReaderParams struct {
	Conn        *net.UDPConn
	Interceptor interceptor.Interceptor
	MTU         int
}

type RTCPWriter

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

func NewRTCPWriter

func NewRTCPWriter(params RTCPWriterParams) *RTCPWriter

func (*RTCPWriter) Close

func (r *RTCPWriter) Close()

func (*RTCPWriter) WriteRTCP

func (r *RTCPWriter) WriteRTCP(p []rtcp.Packet) error

type RTCPWriterParams

type RTCPWriterParams struct {
	Conn        *net.UDPConn
	Interceptor interceptor.Interceptor
	MTU         int
}

type RTPReader

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

RTPReader is very similar to servertransport.rtcpReader. Perhaps unify them.

func NewRTPReader

func NewRTPReader(params RTPReaderParams) *RTPReader

func (*RTPReader) Close

func (r *RTPReader) Close()

func (*RTPReader) ReadRTP

func (r *RTPReader) ReadRTP() (*rtp.Packet, interceptor.Attributes, error)

type RTPReaderParams

type RTPReaderParams struct {
	Conn              *net.UDPConn
	Interceptor       interceptor.Interceptor
	SSRC              webrtc.SSRC
	Codec             transport.Codec
	InterceptorParams codecs.InterceptorParams
	MTU               int
}

Jump to

Keyboard shortcuts

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