How to sequence VOD streams

Justen Hansen 1 Reputation point
2022-01-21T15:36:12.15+00:00

I need to stream some VOD assets from Azure Media Services in a sequence (playlist). I understand Azure Media Player can do this within my HTML or JS, however I'm trying to play this in Decentraland (decentraland.org) and so using the Azure media player is not really an option for me. Decentraland itself has playback functionality which is able to stream my HLS streaming URL directly from media services, but it does not have playlist functionality at the moment.

Does Azure Media Services allow us to build a manifest or streaming URL that is capable of sequencing a list of assets to play? If so, I could take that single streaming URL and have Decentraland play that.

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
302 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. John Deutscher (MSFT) 2,126 Reputation points
    2022-01-21T17:45:12.81+00:00

    AMS does not support any sort of server side stitching of manifests across multiple assets today. The only way to solve for this would be to work with some form of server side stitching solution that can aggregate multiple HLS manifests and combine them back into a single manifest. The key there is that your content would need to be encoded the same.

    I have seen some customers just host a simple Node.js server or use Azure Functions to pull in multiple HLS or DASH manifests, and merge them into a single manifest - but I don't have any pointers to code in Git Hub that would demonstrate how to do that.

    There are some good commercial solutions out there that could run in a containers (K8s I think...) on Azure as well. I recommend checking into Unified Streaming's Remix product - https://www.unified-streaming.com/solutions/content-stitching-vod

    https://www.unified-streaming.com/products/unified-remix