LiveEventInput Class
- java.
lang. Object - com.
azure. resourcemanager. mediaservices. models. LiveEventInput
- com.
Implements
public final class LiveEventInput
implements JsonSerializable<LiveEventInput>
The live event input.
Constructor Summary
| Constructor | Description |
|---|---|
| LiveEventInput() |
Creates an instance of Live |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Live |
accessControl()
Get the access |
| String |
accessToken()
Get the access |
|
List<Live |
endpoints()
Get the endpoints property: The input endpoints for the live event. |
|
static
Live |
fromJson(JsonReader jsonReader)
Reads an instance of Live |
| String |
keyFrameIntervalDuration()
Get the key |
|
Live |
streamingProtocol()
Get the streaming |
|
List<Live |
timedMetadataEndpoints()
Get the timed |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Live |
withAccessControl(LiveEventInputAccessControl accessControl)
Set the access |
|
Live |
withAccessToken(String accessToken)
Set the access |
|
Live |
withEndpoints(List<LiveEventEndpoint> endpoints)
Set the endpoints property: The input endpoints for the live event. |
|
Live |
withKeyFrameIntervalDuration(String keyFrameIntervalDuration)
Set the key |
|
Live |
withStreamingProtocol(LiveEventInputProtocol streamingProtocol)
Set the streaming |
|
Live |
withTimedMetadataEndpoints(List<LiveEventTimedMetadataEndpoint> timedMetadataEndpoints)
Set the timed |
Methods inherited from java.lang.Object
Constructor Details
LiveEventInput
public LiveEventInput()
Creates an instance of LiveEventInput class.
Method Details
accessControl
public LiveEventInputAccessControl accessControl()
Get the accessControl property: Access control for live event input.
Returns:
accessToken
public String accessToken()
Get the accessToken property: 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.
Returns:
endpoints
public List<LiveEventEndpoint> endpoints()
Get the endpoints property: The input endpoints for the live event.
Returns:
fromJson
public static LiveEventInput fromJson(JsonReader jsonReader)
Reads an instance of LiveEventInput from the JsonReader.
Parameters:
Returns:
Throws:
keyFrameIntervalDuration
public String keyFrameIntervalDuration()
Get the keyFrameIntervalDuration property: 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.
Returns:
streamingProtocol
public LiveEventInputProtocol streamingProtocol()
Get the streamingProtocol property: The input protocol for the live event. This is specified at creation time and cannot be updated.
Returns:
timedMetadataEndpoints
public List<LiveEventTimedMetadataEndpoint> timedMetadataEndpoints()
Get the timedMetadataEndpoints property: The metadata endpoints for the live event.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAccessControl
public LiveEventInput withAccessControl(LiveEventInputAccessControl accessControl)
Set the accessControl property: Access control for live event input.
Parameters:
Returns:
withAccessToken
public LiveEventInput withAccessToken(String accessToken)
Set the accessToken property: 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.
Parameters:
Returns:
withEndpoints
public LiveEventInput withEndpoints(List<LiveEventEndpoint> endpoints)
Set the endpoints property: The input endpoints for the live event.
Parameters:
Returns:
withKeyFrameIntervalDuration
public LiveEventInput withKeyFrameIntervalDuration(String keyFrameIntervalDuration)
Set the keyFrameIntervalDuration property: 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.
Parameters:
Returns:
withStreamingProtocol
public LiveEventInput withStreamingProtocol(LiveEventInputProtocol streamingProtocol)
Set the streamingProtocol property: The input protocol for the live event. This is specified at creation time and cannot be updated.
Parameters:
Returns:
withTimedMetadataEndpoints
public LiveEventInput withTimedMetadataEndpoints(List<LiveEventTimedMetadataEndpoint> timedMetadataEndpoints)
Set the timedMetadataEndpoints property: The metadata endpoints for the live event.
Parameters:
Returns: