简体   繁体   English

Azure 媒体服务:LiveEventInput 目的的 LiveEventEndpoints

[英]Azure Media Services: LiveEventEndpoints of LiveEventInput purpose

I am trying to set up live events in Azure Media Services.我正在尝试在 Azure 媒体服务中设置现场活动。 I already came across that issue, that output (streaming) URLs are only available after starting AND ingesting data into a live stream.我已经遇到过这个问题,output(流式传输)URL 只有在启动并将数据摄取到实时 stream 后才可用。 But also the ingest URLs give me some headaches.但摄取 URL 也让我有些头疼。 I could define a ingest URL upfront, but that has to be static.我可以预先定义一个摄取 URL,但这必须是 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.但是我在 class 层次结构中找到了 class ,我不确定它的作用。 It is also not well documented: The LiveEventInput class accepts a List of " LiveEventEndpoint " as parameter.它也没有很好的记录: LiveEventInput class 接受“ LiveEventEndpoint ”列表作为参数。 But I cannot figure out, what this LiveEventEndpoint really is.但我无法弄清楚,这个 LiveEventEndpoint 到底是什么。

https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.management.media.models.liveeventendpoint?view=azure-dotnet 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 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."所有代码文档以及 API 文档 state 类似于“获取或设置实时事件的输入端点”。 But not how to use it and which protocols are allowed and what the URL should look like.但不是如何使用它,允许哪些协议以及 URL 应该是什么样子。 Could somebody explain how this property should work?有人可以解释这个属性应该如何工作吗? In my understanding I - of course - cannot simply define a custom ingest URL.在我的理解中,我当然不能简单地定义自定义摄取 URL。 Or is it the URL it should read the input stream from?还是它应该读取输入 stream 的 URL ? 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".您可以使用“静态主机名前缀”使用 static 摄取创建实时事件。 This was called before "Vanity Url" mode.这在“Vanity Url”模式之前被调用。 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.请参阅https://docs.microsoft.com/en-us/azure/media-services/latest/live-events-outputs-concept#live-event-ingest-urls这样的直播活动有一个摄取 URL,在您之前就知道启动它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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