Class LiveEventTrackEventData
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventTrackEventData
The live event track ingest heart beat event data.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LiveEventTrackEventData class. -
Method Summary
Modifier and TypeMethodDescriptionbitrate()
Get the bitrate property: Bitrate of the track.Get the discontinuityCount property: Number of discontinuities detected in the last 20 seconds.healthy()
Get the healthy property: Indicates whether ingest is healthy.Get the incomingBitrate property: Calculated bitrate based on data chunks coming from encoder.Get the ingestDriftValue property: Indicates the speed of delay, in seconds-per-minute, of the incoming audio or video data during the last minute.Get the lastFragmentArrivalTime property: The last timestamp in UTC that a fragment arrived at the ingest endpoint.Get the lastTimestamp property: Latest timestamp received for a track in last 20 seconds.Get the nonincreasingCount property: Number of data chunks with timestamps in the past that were received in last 20 seconds.Get the overlapCount property: Number of data chunks that had overlapped timestamps in last 20 seconds.state()
Get the state property: State of the live event.Get the timescale property: Timescale in which timestamps are expressed.Get the trackName property: Name of the track.Get the trackType property: Type of the track.Get the transcriptionLanguage property: The language code (in BCP-47 format) of the transcription language.Get the transcriptionState property: This value is "On" for audio track heartbeats if live transcription is turned on, otherwise you will see an empty string.Get the unexpectedBitrate property: If expected and actual bitrates differ by more than allowed limit in last 20 seconds.void
validate()
Validates the instance.withBitrate
(Long bitrate) Set the bitrate property: Bitrate of the track.withDiscontinuityCount
(Long discontinuityCount) Set the discontinuityCount property: Number of discontinuities detected in the last 20 seconds.withHealthy
(Boolean healthy) Set the healthy property: Indicates whether ingest is healthy.withIncomingBitrate
(Long incomingBitrate) Set the incomingBitrate property: Calculated bitrate based on data chunks coming from encoder.withIngestDriftValue
(String ingestDriftValue) Set the ingestDriftValue property: Indicates the speed of delay, in seconds-per-minute, of the incoming audio or video data during the last minute.withLastFragmentArrivalTime
(OffsetDateTime lastFragmentArrivalTime) Set the lastFragmentArrivalTime property: The last timestamp in UTC that a fragment arrived at the ingest endpoint.withLastTimestamp
(String lastTimestamp) Set the lastTimestamp property: Latest timestamp received for a track in last 20 seconds.withNonincreasingCount
(Long nonincreasingCount) Set the nonincreasingCount property: Number of data chunks with timestamps in the past that were received in last 20 seconds.withOverlapCount
(Long overlapCount) Set the overlapCount property: Number of data chunks that had overlapped timestamps in last 20 seconds.Set the state property: State of the live event.withTimescale
(String timescale) Set the timescale property: Timescale in which timestamps are expressed.withTrackName
(String trackName) Set the trackName property: Name of the track.withTrackType
(LiveEventTrackType trackType) Set the trackType property: Type of the track.withTranscriptionLanguage
(String transcriptionLanguage) Set the transcriptionLanguage property: The language code (in BCP-47 format) of the transcription language.withTranscriptionState
(String transcriptionState) Set the transcriptionState property: This value is "On" for audio track heartbeats if live transcription is turned on, otherwise you will see an empty string.withUnexpectedBitrate
(Boolean unexpectedBitrate) Set the unexpectedBitrate property: If expected and actual bitrates differ by more than allowed limit in last 20 seconds.
-
Constructor Details
-
LiveEventTrackEventData
public LiveEventTrackEventData()Creates an instance of LiveEventTrackEventData class.
-
-
Method Details
-
trackName
Get the trackName property: Name of the track.- Returns:
- the trackName value.
-
withTrackName
Set the trackName property: Name of the track.- Parameters:
trackName
- the trackName value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
trackType
Get the trackType property: Type of the track.- Returns:
- the trackType value.
-
withTrackType
Set the trackType property: Type of the track.- Parameters:
trackType
- the trackType value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
bitrate
Get the bitrate property: Bitrate of the track.- Returns:
- the bitrate value.
-
withBitrate
Set the bitrate property: Bitrate of the track.- Parameters:
bitrate
- the bitrate value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
incomingBitrate
Get the incomingBitrate property: Calculated bitrate based on data chunks coming from encoder.- Returns:
- the incomingBitrate value.
-
withIncomingBitrate
Set the incomingBitrate property: Calculated bitrate based on data chunks coming from encoder.- Parameters:
incomingBitrate
- the incomingBitrate value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
lastTimestamp
Get the lastTimestamp property: Latest timestamp received for a track in last 20 seconds.- Returns:
- the lastTimestamp value.
-
withLastTimestamp
Set the lastTimestamp property: Latest timestamp received for a track in last 20 seconds.- Parameters:
lastTimestamp
- the lastTimestamp value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
timescale
Get the timescale property: Timescale in which timestamps are expressed.- Returns:
- the timescale value.
-
withTimescale
Set the timescale property: Timescale in which timestamps are expressed.- Parameters:
timescale
- the timescale value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
overlapCount
Get the overlapCount property: Number of data chunks that had overlapped timestamps in last 20 seconds.- Returns:
- the overlapCount value.
-
withOverlapCount
Set the overlapCount property: Number of data chunks that had overlapped timestamps in last 20 seconds.- Parameters:
overlapCount
- the overlapCount value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
discontinuityCount
Get the discontinuityCount property: Number of discontinuities detected in the last 20 seconds.- Returns:
- the discontinuityCount value.
-
withDiscontinuityCount
Set the discontinuityCount property: Number of discontinuities detected in the last 20 seconds.- Parameters:
discontinuityCount
- the discontinuityCount value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
nonincreasingCount
Get the nonincreasingCount property: Number of data chunks with timestamps in the past that were received in last 20 seconds.- Returns:
- the nonincreasingCount value.
-
withNonincreasingCount
Set the nonincreasingCount property: Number of data chunks with timestamps in the past that were received in last 20 seconds.- Parameters:
nonincreasingCount
- the nonincreasingCount value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
unexpectedBitrate
Get the unexpectedBitrate property: If expected and actual bitrates differ by more than allowed limit in last 20 seconds.- Returns:
- the unexpectedBitrate value.
-
withUnexpectedBitrate
Set the unexpectedBitrate property: If expected and actual bitrates differ by more than allowed limit in last 20 seconds.- Parameters:
unexpectedBitrate
- the unexpectedBitrate value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
state
Get the state property: State of the live event.- Returns:
- the state value.
-
withState
Set the state property: State of the live event.- Parameters:
state
- the state value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
healthy
Get the healthy property: Indicates whether ingest is healthy.- Returns:
- the healthy value.
-
withHealthy
Set the healthy property: Indicates whether ingest is healthy.- Parameters:
healthy
- the healthy value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
lastFragmentArrivalTime
Get the lastFragmentArrivalTime property: The last timestamp in UTC that a fragment arrived at the ingest endpoint.- Returns:
- the lastFragmentArrivalTime value.
-
withLastFragmentArrivalTime
Set the lastFragmentArrivalTime property: The last timestamp in UTC that a fragment arrived at the ingest endpoint.- Parameters:
lastFragmentArrivalTime
- the lastFragmentArrivalTime value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
ingestDriftValue
Get the ingestDriftValue property: Indicates the speed of delay, in seconds-per-minute, of the incoming audio or video data during the last minute. The value is greater than zero if data is arriving to the live event slower than expected in the last minute; zero if data arrived with no delay; and "n/a" if no audio or video data was received. For example, if you have a contribution encoder sending in live content, and it is slowing down due to processing issues, or network latency, it may be only able to deliver a total of 58 seconds of audio or video in a one-minute period. This would be reported as two seconds-per-minute of drift. If the encoder is able to catch up and send all 60 seconds or more of data every minute, you will see this value reported as 0. If there was a disconnection or discontinuity from the encoder, this value may still display as 0, as it does not account for breaks in the data - only data that is delayed in timestamps.- Returns:
- the ingestDriftValue value.
-
withIngestDriftValue
Set the ingestDriftValue property: Indicates the speed of delay, in seconds-per-minute, of the incoming audio or video data during the last minute. The value is greater than zero if data is arriving to the live event slower than expected in the last minute; zero if data arrived with no delay; and "n/a" if no audio or video data was received. For example, if you have a contribution encoder sending in live content, and it is slowing down due to processing issues, or network latency, it may be only able to deliver a total of 58 seconds of audio or video in a one-minute period. This would be reported as two seconds-per-minute of drift. If the encoder is able to catch up and send all 60 seconds or more of data every minute, you will see this value reported as 0. If there was a disconnection or discontinuity from the encoder, this value may still display as 0, as it does not account for breaks in the data - only data that is delayed in timestamps.- Parameters:
ingestDriftValue
- the ingestDriftValue value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
transcriptionState
Get the transcriptionState property: This value is "On" for audio track heartbeats if live transcription is turned on, otherwise you will see an empty string. This state is only applicable to track type of "audio" for Live transcription. All other tracks will have an empty value.- Returns:
- the transcriptionState value.
-
withTranscriptionState
Set the transcriptionState property: This value is "On" for audio track heartbeats if live transcription is turned on, otherwise you will see an empty string. This state is only applicable to track type of "audio" for Live transcription. All other tracks will have an empty value.- Parameters:
transcriptionState
- the transcriptionState value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
transcriptionLanguage
Get the transcriptionLanguage property: The language code (in BCP-47 format) of the transcription language. For example, "de-de" indicates German (Germany). The value is empty for the video track heartbeats, or when live transcription is turned off.- Returns:
- the transcriptionLanguage value.
-
withTranscriptionLanguage
Set the transcriptionLanguage property: The language code (in BCP-47 format) of the transcription language. For example, "de-de" indicates German (Germany). The value is empty for the video track heartbeats, or when live transcription is turned off.- Parameters:
transcriptionLanguage
- the transcriptionLanguage value to set.- Returns:
- the LiveEventTrackEventData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-