你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LiveEventPreview 构造函数

定义

重载

LiveEventPreview()

初始化 LiveEventPreview 类的新实例。

LiveEventPreview(IList<LiveEventEndpoint>, LiveEventPreviewAccessControl, String, String, String)

初始化 LiveEventPreview 类的新实例。

LiveEventPreview()

初始化 LiveEventPreview 类的新实例。

public LiveEventPreview ();
Public Sub New ()

适用于

LiveEventPreview(IList<LiveEventEndpoint>, LiveEventPreviewAccessControl, String, String, String)

初始化 LiveEventPreview 类的新实例。

public LiveEventPreview (System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> endpoints = default, Microsoft.Azure.Management.Media.Models.LiveEventPreviewAccessControl accessControl = default, string previewLocator = default, string streamingPolicyName = default, string alternativeMediaId = default);
new Microsoft.Azure.Management.Media.Models.LiveEventPreview : System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> * Microsoft.Azure.Management.Media.Models.LiveEventPreviewAccessControl * string * string * string -> Microsoft.Azure.Management.Media.Models.LiveEventPreview
Public Sub New (Optional endpoints As IList(Of LiveEventEndpoint) = Nothing, Optional accessControl As LiveEventPreviewAccessControl = Nothing, Optional previewLocator As String = Nothing, Optional streamingPolicyName As String = Nothing, Optional alternativeMediaId As String = Nothing)

参数

endpoints
IList<LiveEventEndpoint>

预览的终结点。 不要与直播活动受众共享预览 URL。

accessControl
LiveEventPreviewAccessControl

实时事件预览的访问控制。

previewLocator
String

Guid 格式的预览定位符的标识符。 在创建时指定此项可让调用方在创建事件之前知道预览定位符 URL。 如果省略,服务将生成一个随机标识符。 创建实时事件后,无法更新此值。

streamingPolicyName
String

用于实时事件预览的流式处理策略的名称。 此值在创建时指定,无法更新。

alternativeMediaId
String

与为预览创建的流式处理定位符关联的备用媒体标识符。 此值在创建时指定,无法更新。 标识符可以在 StreamingPolicyName 字段中指定的 StreamingPolicy 的 CustomLicenseAcquisitionUrlTemplate 或 CustomKeyAcquisitionUrlTemplate 中使用。

适用于