pub enum RTCBundlePolicy {
Unspecified,
Balanced,
MaxCompat,
MaxBundle,
}
Expand description
BundlePolicy affects which media tracks are negotiated if the remote endpoint is not bundle-aware, and what ICE candidates are gathered. If the remote endpoint is bundle-aware, all media tracks and data channels are bundled onto the same transport.
Variants
Unspecified
Balanced
BundlePolicyBalanced indicates to gather ICE candidates for each media type in use (audio, video, and data). If the remote endpoint is not bundle-aware, negotiate only one audio and video track on separate transports.
MaxCompat
BundlePolicyMaxCompat indicates to gather ICE candidates for each track. If the remote endpoint is not bundle-aware, negotiate all media tracks on separate transports.
MaxBundle
BundlePolicyMaxBundle indicates to gather ICE candidates for only one track. If the remote endpoint is not bundle-aware, negotiate only one media track.
Trait Implementations
sourceimpl Clone for RTCBundlePolicy
impl Clone for RTCBundlePolicy
sourcefn clone(&self) -> RTCBundlePolicy
fn clone(&self) -> RTCBundlePolicy
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more