play

package
v4.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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