在Read Job Object中,我只能找到:“encryption”:null。 我在Elastic Transcoder Lambda函数中的播放列表数组如下所示:
Playlists: [
{
Format: 'HLSv3',
Name: 'index',
OutputKeys: [
videoId + videoAudio600k,
videoId + videoAudio1M,
videoId + videoAudio2M
],
HlsContentProtection: {
Method: "aes-128",
//KeyStoragePolicy: "WithVariantPlaylists"
KeyStoragePolicy: "NoStore",
LicenseAcquisitionUrl:"xxxxxxxx" + videoId
}
}
]
当我选择“WithVariantPlaylists”时,密钥存储在存储桶中,加密工作正常。