Udostępnij za pośrednictwem


LiveEventPreview Constructors

Definition

Overloads

LiveEventPreview()

Initializes a new instance of the LiveEventPreview class.

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

Initializes a new instance of the LiveEventPreview class.

LiveEventPreview()

Initializes a new instance of the LiveEventPreview class.

public LiveEventPreview ();
Public Sub New ()

Applies to

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

Initializes a new instance of the LiveEventPreview class.

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)

Parameters

endpoints
IList<LiveEventEndpoint>

The endpoints for preview. Do not share the preview URL with the live event audience.

accessControl
LiveEventPreviewAccessControl

The access control for live event preview.

previewLocator
String

The identifier of the preview locator in Guid format. Specifying this at creation time allows the caller to know the preview locator url before the event is created. If omitted, the service will generate a random identifier. This value cannot be updated once the live event is created.

streamingPolicyName
String

The name of streaming policy used for the live event preview. This value is specified at creation time and cannot be updated.

alternativeMediaId
String

An alternative media identifier associated with the streaming locator created for the preview. This value is specified at creation time and cannot be updated. The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.

Applies to