共用方式為


LiveEventPreview interface

Live event preview settings.

Properties

accessControl

The access control for live event preview.

alternativeMediaId

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.

endpoints

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

previewLocator

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

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

Property Details

accessControl

The access control for live event preview.

accessControl?: LiveEventPreviewAccessControl

Property Value

alternativeMediaId

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.

alternativeMediaId?: string

Property Value

string

endpoints

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

endpoints?: LiveEventEndpoint[]

Property Value

previewLocator

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.

previewLocator?: string

Property Value

string

streamingPolicyName

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

streamingPolicyName?: string

Property Value

string