Good Evening,
I'm trying to create a new streaming policy in my AMS using the REST API , in order to allow HLS + Fairplay to be played back on IOS Devices.
I'm using a custom streaming policy configuration in order to create my streaming locators and adding a custom key policy with my Fairplay configuration.
in the key policy i added:
1- Open restriction
2 - In Fairplay configuration ( by order )
I added my .pfx
i added my pfx password
i added my Ask
3 - Persistent with unlimited.
this is my new streaming policy configuration :
{
"properties": {
"commonEncryptionCbcs": {
"enabledProtocols": {
"download": false,
"dash": false,
"hls": true,
"smoothStreaming": false
},
"contentKeys": {
"defaultKey": {
"label": "cbcsDefaultKey"
}
},
"drm": {
"fairPlay": {
"allowPersistentLicense": true
}
}
}
}
}
here is a link to what i'm trying to play :
https://ep-swannmediaservice-euwe.streaming.media.azure.net/b4c8b2d7-7820-491f-8884-84888332a55b/the-wonderful-wizard-of-oz-008-c.ism/manifest(format=m3u8-aapl,encryption=cbcs-aapl)
On azure media player :
https://ampdemo.azureedge.net/?url=https%3A%2F%2Fep-swannmediaservice-euwe.streaming.media.azure.net%2Fb4c8b2d7-7820-491f-8884-84888332a55b%2Fthe-wonderful-wizard-of-oz-008-c.ism%2Fmanifest(format%3Dm3u8-aapl%2Cencryption%3Dcbcs-aapl)
All of my tests are done on SAFARI WEB browser.
My Content fails to playback , even on Azure Media Services interface i can't playback my stream locators saying
" Video cannot be streamed.
Your media asset is empty or not compatible with streaming. Check your media asset.".
Im stuck here , can any one assist me please ?
Any help would be appreciated, thank you.