[][src]Struct mediasoup::pipe_transport::PipeTransportOptions

#[non_exhaustive]pub struct PipeTransportOptions {
    pub listen_ip: TransportListenIp,
    pub enable_sctp: bool,
    pub num_sctp_streams: NumSctpStreams,
    pub max_sctp_message_size: u32,
    pub sctp_send_buffer_size: u32,
    pub enable_rtx: bool,
    pub enable_srtp: bool,
    pub app_data: AppData,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
listen_ip: TransportListenIp

Listening IP address.

enable_sctp: bool

Create a SCTP association. Default false.

num_sctp_streams: NumSctpStreams

SCTP streams number.

max_sctp_message_size: u32

Maximum allowed size for SCTP messages sent by DataProducers. Default 268_435_456.

sctp_send_buffer_size: u32

Maximum SCTP send buffer used by DataConsumers. Default 268_435_456.

enable_rtx: bool

Enable RTX and NACK for RTP retransmission. Useful if both Routers are located in different hosts and there is packet lost in the link. For this to work, both PipeTransports must enable this setting. Default false.

enable_srtp: bool

Enable SRTP. Useful to protect the RTP and RTCP traffic if both Routers are located in different hosts. For this to work, connect() must be called with remote SRTP parameters. Default false.

app_data: AppData

Custom application data.

Implementations

impl PipeTransportOptions[src]

pub fn new(listen_ip: TransportListenIp) -> Self[src]

Trait Implementations

impl Clone for PipeTransportOptions[src]

impl Debug for PipeTransportOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,