Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) SetRTPReader ¶
func (h *Handler) SetRTPReader(r interceptor.RTPReader)
func (*Handler) WriteRTCP ¶
func (h *Handler) WriteRTCP(pkts []rtcp.Packet, attributes interceptor.Attributes) (int, error)
type Sender ¶
type Sender struct { *SenderConfig // contains filtered or unexported fields }
func NewSender ¶
func NewSender(r *interceptor.Registry, opts ...SenderOption) (*Sender, error)
func (*Sender) NewMediaStream ¶
func (s *Sender) NewMediaStream() interceptor.RTPWriter
type SenderConfig ¶
type SenderConfig struct {
// contains filtered or unexported fields
}
type SenderOption ¶
type SenderOption func(*SenderConfig) error
func RemoteAddress ¶
func RemoteAddress(addr string) SenderOption
func SetTCPCongestionControlAlgorithm ¶
func SetTCPCongestionControlAlgorithm(algorithm cc.Algorithm) SenderOption
type Server ¶
type Server struct { *ServerConfig // contains filtered or unexported fields }
func NewServer ¶
func NewServer(opts ...ServerOption) (*Server, error)
func (*Server) OnNewHandler ¶
type ServerConfig ¶
type ServerConfig struct {
// contains filtered or unexported fields
}
type ServerOption ¶
type ServerOption func(*ServerConfig) error
func LocalAddress ¶
func LocalAddress(addr string) ServerOption
Click to show internal directories.
Click to hide internal directories.