Function

GstPbutils-1.0GstPbutilscodec_utils_caps_get_mime_codecSince 1.20

  • Converts caps to a RFC 6381 compatible codec string if possible.

    Useful for providing the 'codecs' field inside the 'Content-Type' HTTP header for containerized formats, such as mp4 or matroska.

    Registered codecs can be found at http://mp4ra.org/#/codecs

    Parameters

    Returns string

    a RFC 6381 compatible codec string or null

    1.20