Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IMediaFormat

interface IMediaFormat
Extends com.amazon.apmf.IStandard Represents the format of the media (audio and video)

Methods

setMime()

void setMime(CodecMimeType* mime)
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.

Parameters

mime
CodecMimeType* — Required The mime type for the codec.

setTargetBitrateKbps()

void setTargetBitrateKbps(i32 bitrate)
Sets the target bitrate in kbps. This method can also be called for dynamic configuration.

Parameters

bitrate
i32 — Required The bitrate value in kilo bits/sec.
Last modified on October 29, 2026