Documentation ¶
Index ¶
- Variables
- type Muxer
- func (element *Muxer) Close() error
- func (element *Muxer) NewPeerConnection(configuration webrtc.Configuration) (*webrtc.PeerConnection, 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 Options
- type Stream
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorNotFound = errors.New("WebRTC Stream Not Found") ErrorCodecNotSupported = errors.New("WebRTC Codec Not Supported") ErrorClientOffline = errors.New("WebRTC Client Offline") ErrorNotTrackAvailable = errors.New("WebRTC Not Track Available") ErrorIgnoreAudioTrack = errors.New("WebRTC Ignore Audio Track codec not supported WebRTC support only PCM_ALAW or PCM_MULAW") )
Functions ¶
This section is empty.
Types ¶
type Muxer ¶
type Muxer struct { ClientACK *time.Timer StreamACK *time.Timer Options Options // contains filtered or unexported fields }
func (*Muxer) NewPeerConnection ¶
func (*Muxer) WaitCloser ¶
func (element *Muxer) WaitCloser()
func (*Muxer) WriteHeader ¶
Click to show internal directories.
Click to hide internal directories.