[][src]Struct javelin_codec::avc::Packet

pub struct Packet { /* fields omitted */ }

AVC encoded byte chunk

Bits Name
4 Frame Type
4 Codec ID
8 Packet Type
24 Composition Time
var Decoder Configuration Record
var NALU

Methods

impl Packet[src]

pub fn try_from_buf<B>(
    bytes: B,
    timestamp: u64,
    shared: &SharedState
) -> Result<Self> where
    B: IntoBuf
[src]

pub fn try_as_bytes(&self) -> Result<Bytes>[src]

pub fn is_sequence_header(&self) -> bool[src]

pub fn is_keyframe(&self) -> bool[src]

pub fn presentation_timestamp(&self) -> u64[src]

pub fn timestamp(&self) -> u64[src]

Trait Implementations

impl Debug for Packet[src]

Auto Trait Implementations

impl Send for Packet

impl Sync for Packet

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T