Azure Media Services Live Streaming code samples
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 Live Streaming.
This sample shows you how to set up the basic passthrough live event if you only need to broadcast a low-cost UGC channel.
This sample shows you how to use standard passthrough live streaming.
This sample shows you how to use live encoding in the cloud with the 720P HD adaptive bitrate encoding preset.
This sample shows you how to use live encoding in the cloud with the 1080P HD adaptive bitrate encoding preset.
This sample shows you how to enable low latency live streaming with Apple's LL-HLS protocol and encode with the new 3-layer 720P HD adaptive bitrate encoding preset.
This sample shows you how to use FFmpeg command lines locally to stream over RTMP or Smooth streaming. It demonstrates various scenarios including audio only, multi-audio, and screen recording.
.NET not yet available | Node.JS | not yet available |
This sample demonstrates how to create and use live events and live outputs with DVR.
.NET | Node.JS not yet available | Python not yet available |
This sample demonstrates how to use Event Hubs to subscribe to events on the live streaming channel. Events include encoder connections, disconnections, heartbeat, latency, discontinuity, and drift issues.
You can contact Media Services with questions or follow our updates by one of the following methods:
- Q & A
- Stack Overflow. Tag questions with
azure-media-services
. - @MSFTAzureMedia or use @AzureSupport to request support.
- Open a support ticket through the Azure portal.