ewitkows
ewitkows

Reputation: 3618

How do I stream an uploaded video on Azure Media Services

I uploaded a video to Azure Media Services, and clicked the "publish" button. That gave me a publish URL.

I then used the Azure Media Player (http://amp.azure.net/libs/amp/latest/docs/samples.html) to embed my video content on a page.

The problem I'm having is that the video is choppy to start. Perhaps it's the encoding of the video, but I want to make sure, if I want to stream a video, using the media player or anything else, do I just use the "Publish URL"? OR is there a different way of requesting video content to "smooth stream"?

Upvotes: 1

Views: 2707

Answers (2)

Jim Lane
Jim Lane

Reputation: 51

The Azure Media Services test page has changed since the last post. The new URL is:

https://ampdemo.azureedge.net/azuremediaplayer.html

Upvotes: 0

Bruno Faria
Bruno Faria

Reputation: 5272

Yes. You use the publish URL for VOD and you have a few url parameters to change the type of streaming if needed. Default is smooth streaming.

Smooth Streaming

{streaming endpoint name-media services account name}.streaming.mediaservices.windows.net/{locator ID}/{filename}.ism/Manifest

HLS Streaming

{streaming endpoint name-media services account name}.streaming.mediaservices.windows.net/{locator ID}/{filename}.ism/Manifest(format=m3u8-aapl)

MPEG Dash Streaming

{streaming endpoint name-media services account name}.streaming.mediaservices.windows.net/{locator ID}/{filename}.ism/Manifest(format=mpd-time-csf)

See what works best for you

You can also test on this page and try the advanced settings

http://amsplayer.azurewebsites.net/azuremediaplayer.html

Upvotes: 2

Related Questions