rtpengine

package module
v0.0.0-...-01b2dee Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

Copy rtp.Packet from Reader to Writer.

func CopyFeedback

Copy rtcp.Packet from FeedbackReader to FeedbackWriter.

Types

type FeedbackReader

type FeedbackReader interface {
	ReadRTCP(context.Context) (rtcp.Packet, error)
}

FeedbackReader is an interface to read feedback RTCP packets.

type FeedbackWriter

type FeedbackWriter interface {
	WriteRTCP(context.Context, rtcp.Packet) error
}

FeedbackWriter is an interface to write feedback RTCP packets.

type ReadInterceptor

type ReadInterceptor interface {
	Intercept(context.Context, Reader) Reader
}

ReadInterceptor processes received RTP stream. For example, ReadInterceptor may implements RTP jitter buffer, RTCP report sender, and packet retransmission request.

type Reader

type Reader interface {
	FeedbackWriter
	ReadRTP(context.Context) (*rtp.Packet, error)
}

Reader is an interface to handle incoming RTP stream.

type WriteInterceptor

type WriteInterceptor interface {
	Intercept(context.Context, Writer) Writer
}

WriteInterceptor processes outbound RTP stream. For example, WriteInterceptor may implements congestion control and packet retransmission.

type Writer

type Writer interface {
	FeedbackReader
	WriteRTP(context.Context, *rtp.Packet) error
}

Writer is an interface to handle outgoing RTP stream.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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