pub fn parse_sps(nal: &[u8]) -> Option<SpsInfo>Available on crate features
codec-h264 and codec only.Expand description
Parse a sequence parameter set NAL (including its 1-byte NAL header) and
extract the coded resolution. Returns None on a malformed SPS or one using
a scaling matrix (unsupported here).