pub struct TrackPublishOptions {
pub video_encoding: Option<VideoEncoding>,
pub audio_encoding: Option<AudioEncoding>,
pub video_codec: VideoCodec,
pub dtx: bool,
pub red: bool,
pub simulcast: bool,
pub source: TrackSource,
pub stream: String,
pub preconnect_buffer: bool,
}Fields§
§video_encoding: Option<VideoEncoding>§audio_encoding: Option<AudioEncoding>§video_codec: VideoCodec§dtx: bool§red: bool§simulcast: bool§source: TrackSource§stream: String§preconnect_buffer: boolTrait Implementations§
Source§impl Clone for TrackPublishOptions
impl Clone for TrackPublishOptions
Source§fn clone(&self) -> TrackPublishOptions
fn clone(&self) -> TrackPublishOptions
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 moreSource§impl Debug for TrackPublishOptions
impl Debug for TrackPublishOptions
Auto Trait Implementations§
impl Freeze for TrackPublishOptions
impl RefUnwindSafe for TrackPublishOptions
impl Send for TrackPublishOptions
impl Sync for TrackPublishOptions
impl Unpin for TrackPublishOptions
impl UnsafeUnpin for TrackPublishOptions
impl UnwindSafe for TrackPublishOptions
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