pub struct RtspSource {
pub url: String,
pub key: StreamKey,
}Available on crate features
ingest and rtsp only.Expand description
One RTSP source to pull and the stream key it publishes to.
Fields§
§url: StringAbsolute rtsp:// URL (credentials, if any, embedded by the host).
key: StreamKeyEngine stream key the pulled media is published under.
Implementations§
Trait Implementations§
Source§impl Clone for RtspSource
impl Clone for RtspSource
Source§fn clone(&self) -> RtspSource
fn clone(&self) -> RtspSource
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 moreAuto Trait Implementations§
impl Freeze for RtspSource
impl RefUnwindSafe for RtspSource
impl Send for RtspSource
impl Sync for RtspSource
impl Unpin for RtspSource
impl UnsafeUnpin for RtspSource
impl UnwindSafe for RtspSource
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