简体   繁体   English

通过原始URL通过Azure媒体服务流式传输视频

[英]streaming video by origin URL with azure media services

I'm trying to make an app with Smooth Streaming. 我正在尝试使用平滑流制作一个应用程序。 So I'm doing my app with examples like these . 所以我做举例我的应用程序像这些

In result I have many URLs. 结果,我有很多URL。 Some of them is URL for files that I encoded, they are like: 其中一些是我编码的文件的URL,它们类似于:

<mediaservicename>.blob.core.windows.net/asset-d66c43e8-a142-4618-8539-39a2bbb14300/BigBuckBunny_650.mp4?sv=2012-02-12&se=2013-06-23T15%3A21%3A16Z&sr=c&si=aff41a1d-6c8a-4387-8c2f-84272a776ff2&sig=8OPuwW6Kssn2EVQYwqUXkUocc7Qhf0xM62rS9aSPsMk%3D

And one of URL is like: URL之一类似于:

<mediaservicename>.origin.mediaservices.windows.net/6eca30d3-badd-4f45-bc29-264303ffe84a/BigBuckBunny_3400.ism/Manifest

When I try playing the first one on WindowsAzure portal - that's ok. 当我尝试在WindowsAzure门户上播放第一个音乐时-没关系。

But when I'm trying to play the second one on WindowsAzure portal - there is an error "we are unable to connect to the content you've requested. We apologize for the inconvenience". 但是,当我尝试在WindowsAzure门户上播放第二首歌时,出现错误“我们无法连接到您所请求的内容。给您带来的不便,我们深表歉意”。

When I'm trying to play them both in my app with Silverlight they do not play as well as on smf.cloudapp.net / healthmonitor. 当我尝试使用Silverlight在我的应用程序中同时播放它们时,它们在smf.cloudapp.net / healthmonitor上的播放效果不佳。

Maybe there are some errors in the examples on Windiws Azure site? Windiws Azure网站上的示例中可能存在一些错误? Or what can it be? 还是什么呢?

The first url you copied cannot be used in a Smooth Streaming player, but the second one may be, if you have created a valid origin locator with a valid access policy. 您复制的第一个URL不能在Smooth Streaming播放器中使用,但是如果您使用有效的访问策略创建了有效的源定位符,则第二个URL可能会使用。

Can you copy the code you have used to generate these URLs please ? 您可以复制用于生成这些URL的代码吗?

Hope this helps 希望这可以帮助

Julien 朱利安

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

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