Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // exported OpusCodecs []webrtc.RTPCodecParameters H264Codecs []webrtc.RTPCodecParameters VP8Codecs []webrtc.RTPCodecParameters // VP9 is not supported for the time being (GStreamer pipelines remained to be defined) VP9Codecs []webrtc.RTPCodecParameters )
Functions ¶
func NewWebRTCAPI ¶
func NewWebRTCAPI(estimatorCh chan cc.BandwidthEstimator, logger zerolog.Logger) (*webrtc.API, error)
APIs are used to create peer connections, possible codecs are set once for all (at API level) but preferred codecs for a given track are set at transceiver level currently NewWebRTCAPI (rather than pion default one) prevents a freeze/lag observed after ~20 seconds
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.