[ CCode ( cname = "gst_codec_utils_caps_get_mime_codec" ) ]
[ Version ( since = "1.20" ) ]
public string? codec_utils_caps_get_mime_codec (Caps caps)
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
caps |
A Caps to convert to mime codec |
a RFC 6381 compatible codec string or |