Documentation ¶ Index ¶ Variables type Muxer func NewMuxer() *Muxer func (element *Muxer) Close() error func (element *Muxer) WaitCloser() func (element *Muxer) WriteHeader(streams []av.CodecData, sdp64 string) (string, error) func (element *Muxer) WritePacket(pkt av.Packet) (err error) type Stream Constants ¶ This section is empty. Variables ¶ View Source var ( ErrorNotFound = errors.New("stream not found") ErrorCodecNotSupported = errors.New("codec not supported") ErrorClientOffline = errors.New("client offline") Label = "track_" ) Functions ¶ This section is empty. Types ¶ type Muxer ¶ type Muxer struct { // contains filtered or unexported fields } func NewMuxer ¶ func NewMuxer() *Muxer func (*Muxer) Close ¶ func (element *Muxer) Close() error func (*Muxer) WaitCloser ¶ func (element *Muxer) WaitCloser() func (*Muxer) WriteHeader ¶ func (element *Muxer) WriteHeader(streams []av.CodecData, sdp64 string) (string, error) func (*Muxer) WritePacket ¶ func (element *Muxer) WritePacket(pkt av.Packet) (err error) type Stream ¶ type Stream struct { // contains filtered or unexported fields } Source Files ¶ View all Source files adapter.go Click to show internal directories. Click to hide internal directories.