pub struct RtcConfigurationBuilder { /* private fields */ }Implementations§
Source§impl RtcConfigurationBuilder
impl RtcConfigurationBuilder
pub fn new() -> Self
pub fn ice_server(self, server: IceServer) -> Self
pub fn ice_transport_policy(self, policy: IceTransportPolicy) -> Self
pub fn bundle_policy(self, policy: BundlePolicy) -> Self
pub fn rtcp_mux_policy(self, policy: RtcpMuxPolicy) -> Self
pub fn certificate(self, cert: CertificateConfig) -> Self
pub fn transport_mode(self, mode: TransportMode) -> Self
pub fn media_capabilities(self, capabilities: MediaCapabilities) -> Self
pub fn external_ip(self, ip: String) -> Self
pub fn bind_ip(self, ip: String) -> Self
pub fn disable_ipv6(self, disable: bool) -> Self
pub fn ssrc_start(self, start: u32) -> Self
pub fn stun_timeout(self, timeout: Duration) -> Self
pub fn rtp_port_range(self, start: u16, end: u16) -> Self
pub fn dtls_buffer_size(self, size: usize) -> Self
pub fn build(self) -> RtcConfiguration
Trait Implementations§
Source§impl Default for RtcConfigurationBuilder
impl Default for RtcConfigurationBuilder
Source§impl From<RtcConfigurationBuilder> for RtcConfiguration
impl From<RtcConfigurationBuilder> for RtcConfiguration
Source§fn from(builder: RtcConfigurationBuilder) -> Self
fn from(builder: RtcConfigurationBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RtcConfigurationBuilder
impl RefUnwindSafe for RtcConfigurationBuilder
impl Send for RtcConfigurationBuilder
impl Sync for RtcConfigurationBuilder
impl Unpin for RtcConfigurationBuilder
impl UnwindSafe for RtcConfigurationBuilder
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