pub struct H264Writer<W: Write + Seek> { /* private fields */ }
Expand description

H264Writer is used to take RTP packets, parse them and write the data to an io.Writer. Currently it only supports non-interleaved mode Therefore, only 1-23, 24 (STAP-A), 28 (FU-A) NAL types are allowed. https://tools.ietf.org/html/rfc6184#section-5.2

Implementations

Trait Implementations

write_rtp adds a new packet and writes the appropriate headers for it

close closes the underlying writer

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.