Joiner
Joiner

Reputation: 31

Storing live video on Azure Media Services

I have one interesting scenario using Windows Azure to store video directly from IP cameras.

I know Azure Media Services is amazing to video streaming, but I do not know if it is possible to use Media services to store video from IP secure cameras.

Have someone here experience with that?

Upvotes: 3

Views: 1703

Answers (1)

rnrneverdies
rnrneverdies

Reputation: 15647

Yes it's possible if your camera or your streaming software supports RTMP or Fragmented MP4 as streaming protocol.

How to get things ready:

As you can see in the image below, the entity that stores a live streaming is "Program".

enter image description here

Common live streaming scenario

The following steps describe tasks involved in creating common live streaming applications.

  1. Connect a video camera to a computer. Launch and configure an on-premises live encoder that outputs a multi-bitrate RTMP or Fragmented MP4 (Smooth Streaming) stream. (Like WireCast) This step could also be performed after you create your Channel.

  2. Create and start a Channel.

  3. Retrieve the Channel ingest URL. The ingest URL is used by the live encoder to send the stream to the Channel.

  4. Retrieve the Channel preview URL. Use this URL to verify that your channel is properly receiving the live stream.

  5. Create a program. When using the Azure Management Portal, creating a program also creates an asset. When using .NET SDK or REST you need to create an asset and specify to use this asset when creating a Program.

  6. Publish the asset associated with the program. Make sure to have at least one streaming reserved unit on the streaming endpoint from which you want to stream content.

  7. Start the program when you are ready to start streaming and archiving. Optionally, the live encoder can be signaled to start an advertisement. The advertisement is inserted in the output stream.

  8. Stop the program whenever you want to stop streaming and archiving the event.

  9. Delete the Program (and optionally delete the asset).

All these task can be made by using the Azure Management Portal, .NET SDK, Java SDK, Azure Media Services REST API, etc.

More details here

Upvotes: 3

Related Questions