codecUtilsCapsGetMimeCodec
fn
string codecUtilsCapsGetMimeCodec(gst.caps.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
Parameters
caps | A #GstCaps to convert to mime codec |
Returns
a RFC 6381 compatible codec string or null