pub struct RtcTrackConfig {
pub mode: TransportMode,
pub ice_servers: Option<Vec<IceServer>>,
pub external_ip: Option<String>,
pub rtp_port_range: Option<(u16, u16)>,
pub bind_ip: Option<String>,
pub preferred_codec: Option<CodecType>,
pub codecs: Vec<CodecType>,
pub payload_type: Option<u8>,
pub enable_latching: Option<bool>,
pub enable_ice_lite: Option<bool>,
}Fields§
§mode: TransportMode§ice_servers: Option<Vec<IceServer>>§external_ip: Option<String>§rtp_port_range: Option<(u16, u16)>§bind_ip: Option<String>§preferred_codec: Option<CodecType>§codecs: Vec<CodecType>§payload_type: Option<u8>§enable_latching: Option<bool>§enable_ice_lite: Option<bool>Trait Implementations§
Source§impl Clone for RtcTrackConfig
impl Clone for RtcTrackConfig
Source§fn clone(&self) -> RtcTrackConfig
fn clone(&self) -> RtcTrackConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RtcTrackConfig
impl RefUnwindSafe for RtcTrackConfig
impl Send for RtcTrackConfig
impl Sync for RtcTrackConfig
impl Unpin for RtcTrackConfig
impl UnsafeUnpin for RtcTrackConfig
impl UnwindSafe for RtcTrackConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more