pub struct RtspOptions {
pub transport: RtspTransport,
pub timeout: Duration,
}Expand description
Construction-time options for RtspSource::open.
Fields§
§transport: RtspTransport§timeout: DurationSocket I/O timeout — ffmpeg’s own timeout RTSP demuxer option,
which covers the initial connect/handshake reads too, not just
steady-state ones. Without this, ffmpeg’s own default is no
timeout at all, meaning RtspSource::open can hang forever
against an unreachable or dead server.
Trait Implementations§
Source§impl Clone for RtspOptions
impl Clone for RtspOptions
Source§fn clone(&self) -> RtspOptions
fn clone(&self) -> RtspOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RtspOptions
Source§impl Debug for RtspOptions
impl Debug for RtspOptions
Auto Trait Implementations§
impl Freeze for RtspOptions
impl RefUnwindSafe for RtspOptions
impl Send for RtspOptions
impl Sync for RtspOptions
impl Unpin for RtspOptions
impl UnsafeUnpin for RtspOptions
impl UnwindSafe for RtspOptions
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