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

Data object MediaEncryptionMetadata

interface struct MediaEncryptionMetadata
Encryption config required to be set by clients for each input frame in case of encrypted playback.

Fields

keyId

u8[] — Required
keyID Media key Id, supported max size of media key ID can be querried using the IMediaEncryptionCapabilities interface.

initializationVector

u8[] — Required
initializationVector , query the max supported size using the IMediaEncryptionCapabilities interface

sessionId

string — Required
sessionId session Id to be used during decryption of the encrypted content, Use IMediaEncryptionCapabilities interface to get the max size of supported sessionID.

cryptoMode

com.amazon.kepler.media_descriptor.CryptoMode — Required
cryptoMode of the encrypted frame.

pattern

com.amazon.kepler.media_descriptor.Pattern — Required
pattern encryption Pattern associated with the frame.

subSamples

com.amazon.kepler.media_descriptor.SubsampleInfo[] — Required
subSamples list of SubsampleInfo for the encrypted frame.
Last modified on October 29, 2026