简体   繁体   English

在将视频上传到Windows Azure媒体服务时如何提供Blob存储帐户详细信息?

[英]How to provide blob storage account details while uploading video into windows azure media service?

I have master windows azure account which contains blob storage. 我有包含blob存储的主Windows天蓝色帐户。 In this blob storage all my clients will upload video. 在这个Blob存储中,我所有的客户都将上传视频。

Now for each client, I will create seperate windows azure media service account + streaming endpoint. 现在,对于每个客户端,我将创建单独的Windows Azure媒体服务帐户+流终结点。

Now how to set my master windows azure blob storage account credentials while uploading video into different streaming accounts? 现在,如何在将视频上传到不同的流媒体帐户时设置主窗口azure blob存储帐户凭据?

I have gone through many articles but none of them are providing option to set from code side. 我浏览了很多文章,但是没有一篇文章提供从代码端进行设置的选项。 From windows azure UI, you can set only blob account which is already exists in your account or create new one but in my scenario, my blob is in account1 while media service account is in account2, account3.... accountN. 在Windows Azure用户界面中,您只能设置帐户中已经存在的Blob帐户,也可以创建一个新帐户,但是在我的情况下,我的Blob在account1中,而媒体服务帐户在account2,account3 .... accountN中。

Upload from existing storage account to azure media services covered in https://azure.microsoft.com/en-us/documentation/articles/media-services-copying-existing-blob/ 从现有存储帐户上载到https://azure.microsoft.com/zh-cn/documentation/articles/media-services-copying-existing-blob/中介绍的Azure媒体服务

When your application will grow you need to consider use multiple storage accounts not to hit limits associated with one storage account. 当您的应用程序增长时,您需要考虑使用多个存储帐户,而不要达到与一个存储帐户相关联的限制。 Since you are provisioning multiple media accounts for your customers, you will have separated storage accounts associated with them. 由于您要为客户配置多个媒体帐户,因此您将拥有与他们相关联的独立存储帐户。 I would suggest to utilize these storage accounts from beginning and provide your clients upload tools which will upload directly to provisioned storage accounts without having additional hoops. 我建议从一开始就使用这些存储帐户,并为您的客户提供上传工具,这些工具将直接上传到配置的存储帐户,而不会产生额外的麻烦。

If for some reasons you still need to have one storage shared across all your customers to do initial ingest, than you can take a look into sample https://github.com/AzureMediaServicesSamples/Media-Services-Azure-Functions . 如果出于某些原因,您仍然需要在所有客户之间共享一个存储来进行初始摄取,那么可以查看示例https://github.com/AzureMediaServicesSamples/Media-Services-Azure-Functions This git repo demonstrate how to use azure functions to ingest video into media services when new video detected in specified storage account. 此git repo演示了在指定存储帐户中检测到新视频时,如何使用azure函数将视频吸收到媒体服务中。

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

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