简体   繁体   English

Azure媒体服务-在IOS上查看编码视频的问题

[英]Azure media services - Issue with viewing an encoded video on IOS

I have an Azure Web App. 我有一个Azure Web应用程序。 The end user can view video files in the application, both with and without encoding. 最终用户可以在应用程序中查看视频文件,包括编码和不编码。 Without encoding, everything works fine on all client devices- The file URL in this case looks as following: 如果不进行编码,则所有客户端设备上的一切都可以正常工作-在这种情况下,文件URL如下所示:

videojs: dispatching event: sourceset [{"src":" https://myAppName.blob.core.windows.net/myAppName/videoFileName.mp4 ","type":"video/mp4"}] videojs:调度事件:sourceset [{“ src”:“ https://myAppName.blob.core.windows.net/myAppName/videoFileName.mp4 ”,“ type”:“ video / mp4”}]

For encoding, we use the Azure media services. 对于编码,我们使用Azure媒体服务。

In this case (with encoding), the file url looks as following: 在这种情况下(使用编码),文件url如下所示:

videojs: dispatching event: sourceset [{"src":" https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/5f4404565467771890ab66920d936327.ism/manifest ","type":"video/mp4","techOrder":["azureHtml5JS","flashSS","silverlightSS","html5"],"protectionInfo":[{"type":"AES","authenticationToken":"provided"}]},{"src":" https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/5f4404565467771890ab66920d936327.ism/manifest(format=mpd-time-csf) ","type":"video/mp4","protectionInfo":[{"type":"AES","authenticationToken":"provided"}]},{"src":" https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/5f4404565467771890ab66920d936327.ism/manifest(format=m3u8-aapl-v3) ","type":"video/mp4","protectionInfo":[{"type":"AES","authenticationToken":"provided"}]}] videojs:调度事件:sourceset [{“ src”:“ https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/5f4404565467771890ab66920d936327.ism/manifest ”,“ type”:“ video / mp4”, “techOrder”:[ “azureHtml5JS”, “flashSS”, “silverlightSS”, “HTML5”], “protectionInfo”:[{ “类型”: “AES”, “authenticationToken”: “提供”}]},{“SRC “:” https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/5f4404565467771890ab66920d936327.ism/manifest(format=mpd-time-csf) “,” type“:” video / mp4“,” protectionInfo“:[{” type“:” AES“,” authenticationToken“:”提供“}]}},{” src“:” https://myAppName.streaming.mediaservices.windows.net/47686721654-6056-477190467269/ 5f4404565467771890ab66920d936327.ism / manifest(format = m3u8-aapl-v3) “,” type“:” video / mp4“,” protectionInfo“:[{” type“:” AES“,” authenticationToken“:” provided“}]} ]

When the end user tries to view this encoded video on iphone - IOS, it does not play successfully. 当最终用户尝试在iphone-IOS上观看此编码视频时, 无法成功播放。 On Windows, it works well. 在Windows上,它运行良好。

I read this article about url suffix needed to be added to video file url: specific suffix for each device, but I'm not sure this is the problem. 我阅读了有关需要将后缀url添加到视频文件url的文章:每个设备的特定后缀,但是我不确定这是问题所在。

https://www.returngis.net/en/2014/11/microsoft-azure-media-services-testing-output-formats-in-live-streaming/ https://www.returngis.net/en/2014/11/microsoft-azure-media-services-testing-output-formats-in-live-streaming/

在此处输入图片说明

I will appreciate your help. 感谢您的帮助。

Can you try playing the videos in http://ampdemo.azureedge.net/ and see if that works. 您可以尝试在http://ampdemo.azureedge.net/中播放视频,看看是否可行。 If you check Advanced, you will be able to specify specific formats. 如果选中“高级”,则可以指定特定格式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM