pub struct Stream { /* private fields */ }
Expand description

Stream handles decryption for a single RTP/RTCP SSRC

Implementations

Create a new stream

GetSSRC returns the SSRC we are demuxing for

Check if RTP is a stream.

Read reads and decrypts full RTP packet from the nextConn

ReadRTP reads and decrypts full RTP packet and its header from the nextConn

read_rtcp reads and decrypts full RTP packet and its header from the nextConn

Close removes the ReadStream from the session and cleans up any associated state

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.