pub struct Session { /* private fields */ }
Expand description
Session implements io.ReadWriteCloser and provides a bi-directional SRTP session
SRTP itself does not have a design like this, but it is common in most applications
for local/remote to each have their own keying material. This provides those patterns
instead of making everyone re-implement
open on the given SSRC to create a stream, it can be used
if you want a certain SSRC, but don’t want to wait for Accept
accept returns a stream to handle RTCP for a single SSRC
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,