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()
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) 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
}
Click to show internal directories.
Click to hide internal directories.