pub enum MediaMode {
Relayed,
Routed,
}
Expand description
Determines whether a session will transmit streams using the OpenTok Media Router or not.
Variants§
Relayed
The session will try to transmit streams directly between clients.
Routed
The session will transmit streams using the OpenTok Media Router.
Trait Implementations§
impl StructuralPartialEq for MediaMode
Auto Trait Implementations§
impl Freeze for MediaMode
impl RefUnwindSafe for MediaMode
impl Send for MediaMode
impl Sync for MediaMode
impl Unpin for MediaMode
impl UnwindSafe for MediaMode
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