如何在 Azure 媒体服务 V3 中获取 HlsUri

How to GetHlsUri in Azure Media Services V3

Azure 媒体服务 V2,有 IAsset.GetHlsUri 和 ILocator.GetHlsUri 方法来获取 HLS 流的 URI。 V3 中不存在这些方法。如何在 Azure 媒体服务 V3 中获取 HLS uri?

对于 .NET,https://docs.microsoft.com/en-us/azure/media-services/latest/create-streaming-locator-build-url#net. Basically you call ListPaths on the streaming locator and then either enumerate through the list for the HLS path or get the StreamingProtocol of HLS. The REST doc is at https://docs.microsoft.com/en-us/rest/api/media/streaminglocators/listpaths 中有一个示例。