Enum medea_control_api_proto::grpc::api::web_rtc_publish_endpoint::P2p [−][src]
#[repr(i32)]
pub enum P2p {
Never,
IfPossible,
Always,
}Expand description
P2P mode of WebRTC interaction.
Variants
Always send media data through a media server.
Send media data peer-to-peer directly if it’s possible, otherwise through a media server.
Send media data peer-to-peer only without a media server.
Implementations
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for P2p
impl UnwindSafe for P2p
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Wrap the input message T in a tonic::Request