简体   繁体   English

具有CDN和HTTPS的Azure媒体服务

[英]Azure Media Service with CDN and HTTPS

I have an Azure Media Service set up with a Premium subscription. 我有一个带有高级订阅的Azure媒体服务。 I made an Android app which uses VideoView player and requests the multi-bitrate video files over HTTPS using the following format for asset links: 我制作了一个Android应用,该应用使用VideoView播放器,并使用以下格式的资产链接通过HTTPS请求多比特率的视频文件:

https://example.streaming.mediaservices.windows.net/c2234567-be1a-123c-ca25-e90bfca246da/1227_e3337f7-35ac-43e0-b55c-223e3333662.ism/QualityLevels(421811)/Manifest(video,format=m3u8-aapl) https://example.streaming.mediaservices.windows.net/c2234567-be1a-123c-ca25-e90bfca246da/1227_e3337f7-35ac-43e0-b55c-223e3333662.ism/QualityLevels(421811)/Manifest(video,format=m3u8-aapl )

Until now, I had CDN integration disabled. 到目前为止,我禁用了CDN集成。 This worked fine and I never had issues using HTTPS. 这工作正常,我使用HTTPS时从未遇到问题。

However, now I want to enable CDN integration with default settings. 但是,现在我想使用默认设置启用CDN集成。 When this feature is enabled, it automatically attaches the media service subdomain as a custom domain under the CDN (in this case example.streaming.mediaservices.windows.net). 启用此功能后,它将自动将媒体服务子域附加为CDN下的自定义域(在本例中为.streaming.mediaservices.windows.net)。 From what I understand, this means I should be able to continue making requests from my Android app to the same URLs as before, except now it will direct those requests to the CDN instead of the media service. 据我了解,这意味着我应该能够继续从Android应用程序向与以前相同的URL发出请求,除非现在它将把这些请求定向到CDN而不是媒体服务。

However, what I'm not sure of is whether or not I'll still be able to call those URLs over HTTPS. 但是,我不确定的是我是否仍然可以通过HTTPS调用这些URL。 I see that Azure has a feature for Custom Domains with HTTPS in the works but it doesn't appear to be available yet. 我看到Azure正在使用HTTPS的自定义域功能,但是它似乎尚不可用。

So does the ability to call media service asset URLs over HTTPS carry over after CDN integration, and especially if I'm using the default media service subdomain as my custom domain? 在CDN集成之后,通过HTTPS调用媒体服务资产URL的功能是否会继续存在,特别是如果我使用默认媒体服务子域作为自定义域时?

If not, what will happen to the HTTPS calls? 如果没有,HTTPS调用将如何处理? Will they receive no response or will they just bypass the CDN? 他们会不会收到任何回应,还是会绕过CDN?

you should have no issues using HTTPS on CDN enabled Media Services Endpoints. 您应该在启用CDN的媒体服务端点上使用HTTPS时没有问题。 The Custom Domain HTTPS primarily refers to vanity urls like "blizz.com", which is not currently supported. 自定义域HTTPS主要指的是虚荣网址,例如“ blizz.com”,目前不支持。

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

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