简体   繁体   中英

Azure Media Services: LiveEventEndpoints of LiveEventInput purpose

I am trying to set up live events in Azure Media Services. I already came across that issue, that output (streaming) URLs are only available after starting AND ingesting data into a live stream. But also the ingest URLs give me some headaches. I could define a ingest URL upfront, but that has to be static. And it is slower provisioned according to the docs.

But I found a class in the class hierarchy, that I am not sure, what it does. It is also not well documented: The LiveEventInput class accepts a List of " LiveEventEndpoint " as parameter. But I cannot figure out, what this LiveEventEndpoint really is.

https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.media.models.liveeventendpoint?view=azure-dotnet

https://docs.microsoft.com/de-de/dotnet/api/microsoft.azure.management.media.models.liveeventinput?view=azure-dotnet

All the code documentation as well as the API docs state something like "Gets or sets the input endpoints for the live event." But not how to use it and which protocols are allowed and what the URL should look like. Could somebody explain how this property should work? In my understanding I - of course - cannot simply define a custom ingest URL. Or is it the URL it should read the input stream from? I have no idea on how to understand that.

You can create a live event with a static ingest by using a "static hostname prefix". This was called before "Vanity Url" mode. See https://docs.microsoft.com/en-us/azure/media-services/latest/live-events-outputs-concept#live-event-ingest-urls Such live event has an ingest URL which is known before you start it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM