pub struct SrtCaller { /* private fields */ }Available on crate features
ingest and srt only.Expand description
Pushes an MPEG-TS feed to a remote SRT listener in caller mode.
Implementations§
Source§impl SrtCaller
impl SrtCaller
Sourcepub fn new(addr: SocketAddr) -> Self
pub fn new(addr: SocketAddr) -> Self
A caller targeting the listener at addr.
Sourcepub fn with_passphrase(self, passphrase: impl Into<String>) -> Self
Available on crate feature srt-encrypt only.
pub fn with_passphrase(self, passphrase: impl Into<String>) -> Self
srt-encrypt only.Encrypt the feed with AES-CTR under passphrase (default AES-128; pair
with with_key_len). Feature srt-encrypt.
Sourcepub fn with_key_len(self, key_len: usize) -> Self
Available on crate feature srt-encrypt only.
pub fn with_key_len(self, key_len: usize) -> Self
srt-encrypt only.Set the AES key length in bytes (16, 24, or 32). Feature srt-encrypt.
Auto Trait Implementations§
impl Freeze for SrtCaller
impl RefUnwindSafe for SrtCaller
impl Send for SrtCaller
impl Sync for SrtCaller
impl Unpin for SrtCaller
impl UnsafeUnpin for SrtCaller
impl UnwindSafe for SrtCaller
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