Comments (12)
The following example demonstrates how to upload a stream.
http://code.msdn.microsoft.com/How-to-Upload-a-Stream-to-40ab9cc3
from azure-sdk-for-media-services.
The following example demonstrates how to upload a stream.
http://code.msdn.microsoft.com/How-to-Upload-a-Stream-to-40ab9cc3
From: Andrew Orsich [mailto:[email protected]]
Sent: Friday, November 8, 2013 09:14
To: WindowsAzure/azure-sdk-for-media-services
Subject: [azure-sdk-for-media-services] Azure media service, upload file asset from a Stream. (#45)
Hi,
I am integrating with azure media service and trying to find a way to upload file to windows media service from a Stream that is coming with request. I don't want to store it on a disk first, like on line 69 herehttps://github.com/WindowsAzure/azure-sdk-for-media-services/blob/dev/samples/Windows%20Azure%20Media%20Services%20Getting%20Started%20Sample/C%23/MediaServicesGettingStarted/Program.cs#L69)
Am I missed something? Or save file to a disk is only one way to go?
Thank you for your time.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/45.
from azure-sdk-for-media-services.
I think it should be in SDK
from azure-sdk-for-media-services.
Thanks AlexShkor,anorsich for feedback we are targeting to have upload from stream functionality to appear in our sdk extensions https://github.com/WindowsAzure/azure-sdk-for-media-services-extensions first and based on community feedback move to sdk core
from azure-sdk-for-media-services.
yes, this feature could save lots of our time. Hope to see it soon. Thanks!
from azure-sdk-for-media-services.
Is it part of extensions already?
Right now I am doing following:
- In worker instance I am downloading file from blob storage and storing it in a temp folder.
- Then upload to media service from a file.
It worked well until we was in development. Today, in production, someone uploaded file which is bigger than 100mb. All uploads are failing now. Worker role does not allow to store temp file which is bigger than 100mb. Once at least one file stored it start throw "Not enough space exception".
This is crazy!
Thank you for your time.
from azure-sdk-for-media-services.
anorsich ,
Worker role does not allow to store temp file which is bigger than 100mb.
You should use the local storage instead of user temp files.
from azure-sdk-for-media-services.
Just for reference: the Java SDK solves file upload exclusively through the Java Stream abstraction, so any inheritance from Stream can then be used. I think it should be the same way in the .NET SDK.
from azure-sdk-for-media-services.
Any news on this?
from azure-sdk-for-media-services.
The link to the example no longer works - can you please post an update?
from azure-sdk-for-media-services.
How to upload a stream to Azure Media Services This is the link with the Sample Code. Hope it helps!
from azure-sdk-for-media-services.
Hi,
I'd like to have an ETA on the support of the UploadFromStream()
(and DownloadToStream()
) in the SDK Core OR in the Extensions.
Thank you
P-O
from azure-sdk-for-media-services.
Related Issues (20)
- AssetFile.Name max length is wrong HOT 1
- AssetFile.Name invalid characters { }
- IAssetFile.Upload(Stream stream) HOT 1
- unsupported audio codec: adpcm_ima_qt, name: ADPCM IMA QuickTime
- .NET Web API HOT 1
- Create new Asset and get Media Processor
- Calling job.SubmitAsync() results in Exception: System.InvalidOperationException: An error occurred while processing this request. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed.
- Sometimes get asset id null
- Could not load type 'Microsoft.IdentityModel.Clients.ActiveDirectory.PlatformParameters HOT 2
- Method not found: 'Void Microsoft.IdentityModel.Clients.ActiveDirectory.PlatformParameters..ctor(Microsoft.IdentityModel.Clients.ActiveDirectory.PromptBehavior)'. HOT 7
- release alpha version of preview 3, we want dotnet core support (ARM can wait til beta)
- Uploaded files with BlobTransferClient doesn't show online
- Input .jpg image to azure media service rtmp server possible?
- .NET Standard/Core version HOT 1
- Expiration time of current access token
- could not load Microsoft.Identity.Model.Clients.ActiveDirectory.Plaftform.dll HOT 3
- How to prevent video preloading in mobile browser?
- Not able to update Xamarin.Forms 5.0 in project because of Microsoft.IdentityModel.Clients.ActiveDirectory nugets has dependency in Mono.Android8.1 HOT 1
- This repo is missing a license file
- This repo is missing important files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-media-services.