Coder Social home page Coder Social logo

Comments (12)

Juliako avatar Juliako commented on August 15, 2024

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.

Juliako avatar Juliako commented on August 15, 2024

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.

AlexShkor avatar AlexShkor commented on August 15, 2024

I think it should be in SDK

from azure-sdk-for-media-services.

gtrifonov avatar gtrifonov commented on August 15, 2024

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.

vadim-kor avatar vadim-kor commented on August 15, 2024

yes, this feature could save lots of our time. Hope to see it soon. Thanks!

from azure-sdk-for-media-services.

anorsich avatar anorsich commented on August 15, 2024

Is it part of extensions already?

Right now I am doing following:

  1. In worker instance I am downloading file from blob storage and storing it in a temp folder.
  2. 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.

vadim-kor avatar vadim-kor commented on August 15, 2024

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.

polarapfel avatar polarapfel commented on August 15, 2024

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.

lineker avatar lineker commented on August 15, 2024

Any news on this?

from azure-sdk-for-media-services.

jamestharpe avatar jamestharpe commented on August 15, 2024

The link to the example no longer works - can you please post an update?

from azure-sdk-for-media-services.

georgechond94 avatar georgechond94 commented on August 15, 2024

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.

poveilleux avatar poveilleux commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.