Modules§
Structs§
- Audio
Encoding - Audio
Preset - Frame
Metadata Features - Track
Publish Options - Video
Encoding - Video
Preset - Video
Resolution
Enums§
- Degradation
Preference - Controls how the encoder degrades quality when bandwidth is constrained.
- Video
Codec - Video
Encoder Backend - Preferred backend for video encoding when publishing a video track.
Preferred backend for video encoding on an
RtpSender.
Functions§
- compute_
appropriate_ encoding - Return an appropriate VideoEncdoding for the specified resolution based on our presets
- compute_
default_ simulcast_ presets - Returns our most appropriate default presets
- compute_
presets_ for_ resolution - compute_
video_ encodings - Compute appropriate RtpEncodingParameters from the video resolution. TrackPublishOptions helps to find the most appropriate encodings
- get_
default_ degradation_ preference - Returns the appropriate degradation preference for a video track.
- into_
rtp_ encodings - Presets must be ordered
- landscape_
aspect_ ratio - spatial_
layers_ from_ scalability_ mode - Parse the number of spatial layers from an RTP scalability mode string.
Standard modes start with
L<N>where<N>is the spatial-layer count (e.g. “L3T3_KEY” -> 3, “L2T3” -> 2, “L1T3” -> 1). - video_
layers_ from_ encodings - video_
quality_ for_ rid