pub struct ClientConfig {Show 18 fields
pub remote_address: Option<SocketAddr>,
pub local_address: Option<SocketAddr>,
pub default_payload_type: u8,
pub clock_rate: u32,
pub security_config: ClientSecurityConfig,
pub jitter_buffer_size: u16,
pub jitter_max_packet_age_ms: u16,
pub enable_jitter_buffer: bool,
pub ssrc: Option<u32>,
pub rtcp_mux: bool,
pub media_sync_enabled: Option<bool>,
pub ssrc_demultiplexing_enabled: Option<bool>,
pub csrc_management_enabled: bool,
pub header_extensions_enabled: bool,
pub header_extension_format: ExtensionFormat,
pub transmit_buffer_config: TransmitBufferConfig,
pub buffer_limits: BufferLimits,
pub high_performance_buffers_enabled: bool,
}Expand description
Client configuration
Fields§
§remote_address: Option<SocketAddr>Remote address to connect to
local_address: Option<SocketAddr>Local address to connect to
default_payload_type: u8Default payload type
clock_rate: u32Clock rate in Hz
security_config: ClientSecurityConfigSecurity configuration
jitter_buffer_size: u16Jitter buffer size in packets
jitter_max_packet_age_ms: u16Maximum packet age in milliseconds
enable_jitter_buffer: boolEnable jitter buffer
ssrc: Option<u32>Local SSRC
rtcp_mux: boolEnable RTCP multiplexing (RFC 5761)
media_sync_enabled: Option<bool>Enable media synchronization features (optional)
ssrc_demultiplexing_enabled: Option<bool>Enable SSRC demultiplexing for handling multiple streams
csrc_management_enabled: boolEnable CSRC management for conferencing scenarios
header_extensions_enabled: boolEnable header extensions support (RFC 8285)
header_extension_format: ExtensionFormatHeader extension format (One-byte or Two-byte)
transmit_buffer_config: TransmitBufferConfigTransmit buffer configuration
buffer_limits: BufferLimitsBuffer limits
high_performance_buffers_enabled: boolEnable high-performance buffers
Trait Implementations§
Source§impl Clone for ClientConfig
impl Clone for ClientConfig
Source§fn clone(&self) -> ClientConfig
fn clone(&self) -> ClientConfig
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 ClientConfig
impl Debug for ClientConfig
Auto Trait Implementations§
impl Freeze for ClientConfig
impl RefUnwindSafe for ClientConfig
impl Send for ClientConfig
impl Sync for ClientConfig
impl Unpin for ClientConfig
impl UnwindSafe for ClientConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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