Class LiveEventTrackEventData

java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventTrackEventData

public final class LiveEventTrackEventData extends Object
The live event track ingest heart beat event data.
  • Constructor Details

    • LiveEventTrackEventData

      public LiveEventTrackEventData()
      Creates an instance of LiveEventTrackEventData class.
  • Method Details

    • trackName

      public String trackName()
      Get the trackName property: Name of the track.
      Returns:
      the trackName value.
    • withTrackName

      public LiveEventTrackEventData withTrackName(String trackName)
      Set the trackName property: Name of the track.
      Parameters:
      trackName - the trackName value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • trackType

      public LiveEventTrackType trackType()
      Get the trackType property: Type of the track.
      Returns:
      the trackType value.
    • withTrackType

      public LiveEventTrackEventData withTrackType(LiveEventTrackType trackType)
      Set the trackType property: Type of the track.
      Parameters:
      trackType - the trackType value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • bitrate

      public Long bitrate()
      Get the bitrate property: Bitrate of the track.
      Returns:
      the bitrate value.
    • withBitrate

      public LiveEventTrackEventData withBitrate(Long bitrate)
      Set the bitrate property: Bitrate of the track.
      Parameters:
      bitrate - the bitrate value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • incomingBitrate

      public Long incomingBitrate()
      Get the incomingBitrate property: Calculated bitrate based on data chunks coming from encoder.
      Returns:
      the incomingBitrate value.
    • withIncomingBitrate

      public LiveEventTrackEventData withIncomingBitrate(Long incomingBitrate)
      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

      public String lastTimestamp()
      Get the lastTimestamp property: Latest timestamp received for a track in last 20 seconds.
      Returns:
      the lastTimestamp value.
    • withLastTimestamp

      public LiveEventTrackEventData withLastTimestamp(String lastTimestamp)
      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

      public String timescale()
      Get the timescale property: Timescale in which timestamps are expressed.
      Returns:
      the timescale value.
    • withTimescale

      public LiveEventTrackEventData withTimescale(String timescale)
      Set the timescale property: Timescale in which timestamps are expressed.
      Parameters:
      timescale - the timescale value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • overlapCount

      public Long overlapCount()
      Get the overlapCount property: Number of data chunks that had overlapped timestamps in last 20 seconds.
      Returns:
      the overlapCount value.
    • withOverlapCount

      public LiveEventTrackEventData withOverlapCount(Long overlapCount)
      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

      public Long discontinuityCount()
      Get the discontinuityCount property: Number of discontinuities detected in the last 20 seconds.
      Returns:
      the discontinuityCount value.
    • withDiscontinuityCount

      public LiveEventTrackEventData withDiscontinuityCount(Long discontinuityCount)
      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

      public Long 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

      public LiveEventTrackEventData withNonincreasingCount(Long nonincreasingCount)
      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

      public Boolean 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

      public LiveEventTrackEventData withUnexpectedBitrate(Boolean unexpectedBitrate)
      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

      public String state()
      Get the state property: State of the live event.
      Returns:
      the state value.
    • withState

      public LiveEventTrackEventData withState(String state)
      Set the state property: State of the live event.
      Parameters:
      state - the state value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • healthy

      public Boolean healthy()
      Get the healthy property: Indicates whether ingest is healthy.
      Returns:
      the healthy value.
    • withHealthy

      public LiveEventTrackEventData withHealthy(Boolean healthy)
      Set the healthy property: Indicates whether ingest is healthy.
      Parameters:
      healthy - the healthy value to set.
      Returns:
      the LiveEventTrackEventData object itself.
    • lastFragmentArrivalTime

      public OffsetDateTime lastFragmentArrivalTime()
      Get the lastFragmentArrivalTime property: The last timestamp in UTC that a fragment arrived at the ingest endpoint.
      Returns:
      the lastFragmentArrivalTime value.
    • withLastFragmentArrivalTime

      public LiveEventTrackEventData withLastFragmentArrivalTime(OffsetDateTime lastFragmentArrivalTime)
      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

      public String 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

      public LiveEventTrackEventData 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. 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

      public String 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

      public LiveEventTrackEventData 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. 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

      public String 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

      public LiveEventTrackEventData withTranscriptionLanguage(String transcriptionLanguage)
      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.