Azure / azure-sdk-for-php

Microsoft Azure SDK for PHP
http://azure.microsoft.com/en-us/develop/php/
Apache License 2.0
415 stars 273 forks source link

Create an asset from a existing blob #915

Closed cassianotartari closed 7 years ago

cassianotartari commented 7 years ago

Hi!

I'm trying to figure out how to create an asset to streaming using an already uploaded video to blob storage. The storage is the same used in media services.

I've tried to use Iblob::copyBlob but it seems to not accept the asset as destination.

Now I'm thinking in use Iblob::getBlob to get file content and MediaServicesRestProxy::uploadAssetFile to set this content to my assetFile.

Is this the way?

Thanks.

sergey-shandar commented 7 years ago

@cassianotartari This question is related to Azure Storage for PHP: https://github.com/Azure/azure-storage-php

cassianotartari commented 7 years ago

ok... but is kind of related to this repository because of the asset creation.