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
subSamples list of SubsampleInfo for the encrypted frame.com.amazon.kepler.media_descriptor.SubsampleInfo[]— Required

