共用方式為


LiveEventInput Constructors

Definition

Overloads

LiveEventInput()

Initializes a new instance of the LiveEventInput class.

LiveEventInput(LiveEventInputProtocol, LiveEventInputAccessControl, String, String, IList<LiveEventEndpoint>)

Initializes a new instance of the LiveEventInput class.

LiveEventInput()

Initializes a new instance of the LiveEventInput class.

public LiveEventInput ();
Public Sub New ()

Applies to

LiveEventInput(LiveEventInputProtocol, LiveEventInputAccessControl, String, String, IList<LiveEventEndpoint>)

Initializes a new instance of the LiveEventInput class.

public LiveEventInput (Microsoft.Azure.Management.Media.Models.LiveEventInputProtocol streamingProtocol, Microsoft.Azure.Management.Media.Models.LiveEventInputAccessControl accessControl = default, string keyFrameIntervalDuration = default, string accessToken = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> endpoints = default);
new Microsoft.Azure.Management.Media.Models.LiveEventInput : Microsoft.Azure.Management.Media.Models.LiveEventInputProtocol * Microsoft.Azure.Management.Media.Models.LiveEventInputAccessControl * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventEndpoint> -> Microsoft.Azure.Management.Media.Models.LiveEventInput
Public Sub New (streamingProtocol As LiveEventInputProtocol, Optional accessControl As LiveEventInputAccessControl = Nothing, Optional keyFrameIntervalDuration As String = Nothing, Optional accessToken As String = Nothing, Optional endpoints As IList(Of LiveEventEndpoint) = Nothing)

Parameters

streamingProtocol
LiveEventInputProtocol

The input protocol for the live event. This is specified at creation time and cannot be updated. Possible values include: 'FragmentedMP4', 'RTMP'

accessControl
LiveEventInputAccessControl

Access control for live event input.

keyFrameIntervalDuration
String

ISO 8601 time duration of the key frame interval duration of the input. This value sets the EXT-X-TARGETDURATION property in the HLS output. For example, use PT2S to indicate 2 seconds. Leave the value empty for encoding live events.

accessToken
String

A UUID in string form to uniquely identify the stream. This can be specified at creation time but cannot be updated. If omitted, the service will generate a unique value.

endpoints
IList<LiveEventEndpoint>

The input endpoints for the live event.

Applies to