pub struct PipeToRouterOptions {
pub router: Router,
pub enable_sctp: bool,
pub num_sctp_streams: NumSctpStreams,
pub enable_rtx: bool,
pub enable_srtp: bool,
/* private fields */
}
Expand description
Options used for piping media or data producer to into another router on the same host.
§Notes on usage
- SCTP arguments will only apply the first time the underlying transports are created.
Fields§
§router: Router
Target Router instance.
enable_sctp: bool
Create a SCTP association.
Default true
.
num_sctp_streams: NumSctpStreams
SCTP streams number.
enable_rtx: bool
Enable RTX and NACK for RTP retransmission.
Default false
.
enable_srtp: bool
Enable SRTP.
Default false
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PipeToRouterOptions
impl !RefUnwindSafe for PipeToRouterOptions
impl Send for PipeToRouterOptions
impl Sync for PipeToRouterOptions
impl Unpin for PipeToRouterOptions
impl !UnwindSafe for PipeToRouterOptions
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