as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
アクセスいただきありがとうございます。こちらのページは現在英語のみのご用意となっております。順次日本語化を進めてまいりますので、ご理解のほどよろしくお願いいたします。

MediaFormat

Represents the format of the media.

Constructors

new MediaFormat()

new MediaFormat(mimeType): MediaFormat

constructs a MediaFormat object.

Refer to https://datatracker.ietf.org/doc/html/rfc6381

MIME is the ability to identify the specific codec.

Parameters

mimeType

CodecMimeType

Returns

MediaFormat

See

for Video/Audio codec mimetypes defined.

Accessors

bitrateKbps

Get Signature

get bitrateKbps(): number

Returns

number

the bitrate set by the setter.

Set Signature

set bitrateKbps(bitrate): void

Sets the target bitrate in kbps.

This can also be used for dynamic configuration.

Parameters
bitrate

number

Returns

void


mimeType

Get Signature

get mimeType(): CodecMimeType

Returns

CodecMimeType

associated with this object.


Last updated: Oct 02, 2025