pub struct RtspHandler { /* private fields */ }Available on crate features
ingest and rtsp only.Expand description
RTSP ingest worker — pulls every configured RtspSource concurrently.
Implementations§
Source§impl RtspHandler
impl RtspHandler
Sourcepub fn source(self, source: RtspSource) -> Self
pub fn source(self, source: RtspSource) -> Self
Register a source to pull.
Sourcepub fn retry_backoff(self, backoff: Duration) -> Self
pub fn retry_backoff(self, backoff: Duration) -> Self
Override the reconnect backoff applied after a source drops (default 3s).
Trait Implementations§
Source§impl Debug for RtspHandler
impl Debug for RtspHandler
Source§impl Default for RtspHandler
impl Default for RtspHandler
Source§impl InboundProtocol for RtspHandler
impl InboundProtocol for RtspHandler
Auto Trait Implementations§
impl Freeze for RtspHandler
impl RefUnwindSafe for RtspHandler
impl Send for RtspHandler
impl Sync for RtspHandler
impl Unpin for RtspHandler
impl UnsafeUnpin for RtspHandler
impl UnwindSafe for RtspHandler
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