Interface IMediaFormat
interface IMediaFormat
Extends com.amazon.apmf.IStandard
Represents the format of the media (audio and video)
Methods
setMime()
Sets the codec Mime for the Content. Refer to https://datatracker.ietf.org/doc/html/rfc6381 MIME is the ability to identify the specific codec. Video/Audio codec mimetypes are defined in CodecMimeType.voidsetMime(CodecMimeType*mime)
Parameters
mime
CodecMimeType* — Required
The mime type for the codec.
setTargetBitrateKbps()
Sets the target bitrate in kbps. This method can also be called for dynamic configuration.voidsetTargetBitrateKbps(i32bitrate)
Parameters
bitrate
i32 — Required
The bitrate value in kilo bits/sec.

