Skip to main content

codec_string

Function codec_string 

Source
pub fn codec_string(track: &Demuxed) -> Option<String>
Available on crate feature decode only.
Expand description

The RFC 6381 / WebCodecs codec string for track, from its configuration record (or, for VP9 without one, its first frame). None when there is not enough to say: AV1 in IVF, a damaged record.