pub struct RTCOfferOptions {
pub voice_activity_detection: bool,
pub ice_restart: bool,
}
Expand description
OfferOptions structure describes the options used to control the offer creation process
Fields§
§voice_activity_detection: bool
voice_activity_detection allows the application to provide information about whether it wishes voice detection feature to be enabled or disabled.
ice_restart: bool
ice_restart forces the underlying ice gathering process to be restarted. When this value is true, the generated description will have ICE credentials that are different from the current credentials
Trait Implementations§
source§impl Clone for RTCOfferOptions
impl Clone for RTCOfferOptions
source§fn clone(&self) -> RTCOfferOptions
fn clone(&self) -> RTCOfferOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RTCOfferOptions
impl Debug for RTCOfferOptions
source§impl Default for RTCOfferOptions
impl Default for RTCOfferOptions
source§fn default() -> RTCOfferOptions
fn default() -> RTCOfferOptions
Returns the “default value” for a type. Read more
source§impl PartialEq<RTCOfferOptions> for RTCOfferOptions
impl PartialEq<RTCOfferOptions> for RTCOfferOptions
source§fn eq(&self, other: &RTCOfferOptions) -> bool
fn eq(&self, other: &RTCOfferOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.