LiveEventInput Class

The live event input.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media._serialization.Model
LiveEventInput

Constructor

LiveEventInput(*, streaming_protocol: str | _models.LiveEventInputProtocol, access_control: _models.LiveEventInputAccessControl | None = None, key_frame_interval_duration: str | None = None, access_token: str | None = None, endpoints: List[_models.LiveEventEndpoint] | None = None, **kwargs)

Keyword-Only Parameters

Name Description
streaming_protocol

The input protocol for the live event. This is specified at creation time and cannot be updated. Required. Known values are: "FragmentedMP4" and "RTMP".

access_control

Access control for live event input.

key_frame_interval_duration
str

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.

access_token
str

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

The input endpoints for the live event.

Variables

Name Description
streaming_protocol

The input protocol for the live event. This is specified at creation time and cannot be updated. Required. Known values are: "FragmentedMP4" and "RTMP".

access_control

Access control for live event input.

key_frame_interval_duration
str

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.

access_token
str

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

The input endpoints for the live event.