Coder Social home page Coder Social logo

Comments (4)

pottabathini avatar pottabathini commented on August 15, 2024

There is no single response from Azure :-(

Please give us response.

from azure-sdk-for-media-services.

Juliako avatar Juliako commented on August 15, 2024

Hi,
you need SAS locator to upload a file and OnDemand locator to stream your video ("1" for a SAS locator and "2" for an On-Demand origin locator).

This section shows you how to create an OnDemand locator
https://azure.microsoft.com/en-in/documentation/articles/media-services-rest-get-started/#publish_get_urls

Please let me know if you run into issues.

from azure-sdk-for-media-services.

pottabathini avatar pottabathini commented on August 15, 2024

Thank you @Juliako for your clarification.

As per your comment when we upload we should create SAS locator and when we publish we should use OnDemand locator to stream video. This mean

  1. When we upload we will create SAS locator which will give us a URL but this only used to upload the file into Azure Media Service that is why we are removing the SAS locator URL
  2. After completion of uploading we need to create OnDemand locator which also give us URL but this URL we will keep to stream the video/ image (which is nothing but publishing or Media)

Please correct me if I am wrong :-)

I will try this and let you know if I run into any issues.

from azure-sdk-for-media-services.

Juliako avatar Juliako commented on August 15, 2024

Most common scenario is:
Create a SAS locator. Upload your file. Once the file has been uploaded, delete the SAS locator .
Then, encode your video.
Then, "publish" your encoded video by creating an OnDemand locator. Once you create the locator, you can build the URLs that are used to stream your videos. The topic that I referenced earlier tells you how to build URLs.

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.