Deli z drugimi prek


Azure Media Services VOD Streaming code samples

Media Services logo v3


Warning

Azure Media Services will be retired June 30th, 2024. For more information, see the AMS Retirement Guide.

This article is a listing of code samples for VOD Streaming.

Upload and stream HLS and DASH

This sample shows you how to upload a local file or encoding from a source URL. It also shows you how to use storage SDK to download content, and stream to a player.

.NET Node.JS Python

Upload a file and stream with Clear Key encryption

This sample shows you how to upload a local file, encode it with Content Aware Encoding, and stream it using AES Clear Key encryption with the Azure Media Player. It also demonstrates how to create a basic JWT token for playback of AES encrypted content in the browser.

.NET not yet available Node.JS Python

Stream an existing single bitrate MP4 files with HLS or DASH

This sample demonstrates how to dynamically package VOD content from an existing pre-encoded MP4 file (or set of ABR encoded Mp4s) and stream with HLS/DASH.

.NET Node.JS not yet available Python not yet available

Use dynamic packaging for VOD content with filters

This sample demonstrates how to filter content using asset and account filters.

.NET Node.JS not yet available Python not yet available

Get help and support

You can contact Media Services with questions or follow our updates by one of the following methods: