Function

GstPbutils-1.0GstPbutilscodec_utils_h264_get_level

  • 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 gst_codec_utils_h264_get_profile().

    Parameters

    • sps: string | Uint8Array<ArrayBufferLike>

      Pointer to the sequence parameter set for the stream.

    Returns string

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