Azure Blob video is not streaming

自作多情 提交于 2021-02-20 03:35:06

问题


I'm trying to stream my videos from Azure blob, but its not working actually. I checked through different sources and found something interesting to update the x-ms-version.

But before doing that I checked it in cloudberry explorer, it says as below.

cloudberry explorer

But in browser it says x-ms-version as 2009 like below

x-ms-version

Anyway I tried updating the x-ms-version using setBlobProperties (Azure PHP SDK) but still its not updating. Am I missing something here?


回答1:


Do you have access set to all on your blob storage container?

More info here.

By default, only the owner of the storage account may access storage resources within that account. If your service or application needs to make these resources available to other clients without sharing your access key, you have the following options for permitting access:

You can set a container's permissions to permit anonymous read access to the container and its blobs. This is not allowed for tables or queues.

You can expose a resource via a shared access signature, which enables you to delegate restricted access to a container, blob, table or queue resource by specifying the interval for which the resources are available and the permissions that a client will have to it.

You can use a stored access policy to manage shared access signatures for a container or its blobs, for a queue, or for a table. The stored access policy gives you an additional measure of control over your shared access signatures and also provides a straightforward means to revoke them.



来源:https://stackoverflow.com/questions/30749464/azure-blob-video-is-not-streaming

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!