pub enum EnhancedRtmpMode {
Auto,
LegacyOnly,
EnhancedOnly,
}Expand description
E-RTMP mode configuration.
Controls how the server/client handles E-RTMP capability negotiation.
Variants§
Auto
Automatically negotiate E-RTMP if peer supports it (default).
LegacyOnly
Use legacy RTMP only, even if peer supports E-RTMP.
EnhancedOnly
Require E-RTMP; reject connections from legacy peers.
Trait Implementations§
Source§impl Clone for EnhancedRtmpMode
impl Clone for EnhancedRtmpMode
Source§fn clone(&self) -> EnhancedRtmpMode
fn clone(&self) -> EnhancedRtmpMode
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 EnhancedRtmpMode
impl Debug for EnhancedRtmpMode
Source§impl Default for EnhancedRtmpMode
impl Default for EnhancedRtmpMode
Source§fn default() -> EnhancedRtmpMode
fn default() -> EnhancedRtmpMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for EnhancedRtmpMode
impl PartialEq for EnhancedRtmpMode
impl Copy for EnhancedRtmpMode
impl Eq for EnhancedRtmpMode
impl StructuralPartialEq for EnhancedRtmpMode
Auto Trait Implementations§
impl Freeze for EnhancedRtmpMode
impl RefUnwindSafe for EnhancedRtmpMode
impl Send for EnhancedRtmpMode
impl Sync for EnhancedRtmpMode
impl Unpin for EnhancedRtmpMode
impl UnwindSafe for EnhancedRtmpMode
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