Azure / azure-media-migration

Azure Media Migration Tool
https://github.com/Azure/azure-media-migration
MIT License
11 stars 15 forks source link

Unable to get updated mpd file through Playback Proxy & ClearKey Delivery Server #232

Open rajeshspherex2021 opened 8 months ago

rajeshspherex2021 commented 8 months ago

I have downloaded the Playback Proxy and ClearKey Delivery Server application and deployed it to Azure App Services. I have setup all necessary permissions for Azure key vaults and storage accounts. Please see the below UR. https://amsplaybackproxy.azurewebsites.net

I have done one asset migration with AES Clear-Key. While hitting this URL, https://amsplaybackproxy.azurewebsites.net/encryptionasset/ams-migration-output/asset-4054e3e0-1326-4bbf-bfa7-7bfaa1259e9a/Test.mpd, I am getting the below error message.

Service request failed. Status: 403 (This request is not authorized to perform this operation using this permission.) ErrorCode: AuthorizationPermissionMismatch

Headers: Transfer-Encoding: chunked Server: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 x-ms-request-id: c7edb276-701e-000a-6dc4-4d2e99000000 x-ms-client-request-id: 691c28e6-32e1-42e2-826f-19716ff00bae x-ms-version: 2022-11-02 x-ms-error-code: AuthorizationPermissionMismatch Access-Control-Expose-Headers: REDACTED Access-Control-Allow-Origin: * Date: Tue, 23 Jan 2024 06:23:12 GMT

duggaraju commented 4 months ago

You can setup the Playback service (Code under PlaybackService directory) yourself. It would need access to the storage account where the migrated assets are placed.