Struct medea_control_api_proto::endpoint::web_rtc_publish::Spec
source · pub struct Spec {
pub p2p: P2pMode,
pub force_relay: bool,
pub audio_settings: AudioSettings,
pub video_settings: VideoSettings,
}
Expand description
Spec of a WebRtcPublish
media Element
.
Fields§
§p2p: P2pMode
Peer-to-peer mode of this WebRtcPublish
Element
.
force_relay: bool
Indicator whether to relay all media data through a TURN server forcibly.
audio_settings: AudioSettings
Settings for the audio media type of this WebRtcPublish
Element
.
video_settings: VideoSettings
Settings for the video media type of this WebRtcPublish
Element
.
Trait Implementations§
source§impl PartialEq for Spec
impl PartialEq for Spec
impl Copy for Spec
impl Eq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnwindSafe for Spec
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