pub fn codec_utils_h264_get_level(sps: &[u8]) -> Result<GString, BoolError>
Expand description

Converts the level indication (level_idc) in the stream’s sequence parameter set into a string. The SPS is expected to have the same format as for codec_utils_h264_get_profile().

§sps

Pointer to the sequence parameter set for the stream.

§Returns

The level as a const string, or None if there is an error.