【发布时间】:2018-08-24 05:17:08
【问题描述】:
我们在 ios 设备中播放 aes 加密内容时遇到了拦截器。 我们已经参考了以下链接 -
Azure Media Player does not work with AES protection on iPhone
https://github.com/AzureMediaServicesSamples/HLSSafariProxy
问题是我无法从 azure 媒体播放器调用代理服务器(如上述链接中所述)。下面是从播放器调用代理服务器的代码 -
<video id="vid1" class="azuremediaplayer amp-default-skin" autoplay="" controls="" width="640" height="400" data-setup="{"techOrder": ["azureHtml5JS", "flashSS","html5FairPlayHLS","silverlightSS", "html5"], "nativeControlsForTouch": false}">
<source src="XXXX-XXXXX" type="application/vnd.ms-sstr+xml" data-setup="{"protectionInfo": [{"type": "AES", "authenticationToken": "Bearer XXXXX"}],"streamingFormats":["SMOOTH","DASH","HLS"]}"/>
<source src="http://localhost:5002/api/AzureMediaServicesManifestProxy/TopLevel?playbackUrl=XXXX-XXXX/manifest&token=Bearer XXXXX-XXXXX" (proxy server api)
type="application/vnd.apple.mpegurl" data-setup="{"disableUrlRewriter": true}"/>
</video>
我收到错误“找不到此媒体的兼容来源” 请在这方面提供帮助。
【问题讨论】:
-
嘿,你解决了吗?我遇到了类似的问题。
-
无法整理出来。
标签: c# ios azure encryption azure-media-services