Class LiveEventStreamEventData
java.lang.Object
com.azure.resourcemanager.mediaservices.models.LiveEventStreamEventData
The live event stream event data.
-
Constructor Summary
ConstructorDescriptionCreates an instance of LiveEventStreamEventData class. -
Method Summary
Modifier and TypeMethodDescriptionbitrate()
Get the bitrate property: Bitrate of the track.Get the currentFragmentTimestamp property: Current fragment timestamp in timescale.Get the discontinuityGap property: Length of the discontinuity gap in timescale.duration()
Get the duration property: Fragment duration.Get the fragmentDropReason property: Reason the fragment was dropped.Get the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.Get the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.Get the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.Get the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.maxTime()
Get the maxTime property: The larger timestamp of the two fragments compared.Get the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.Get the mediaTimestamp property: Fragment timestamp in timescale.Get the mediaType property: Type of the track.minTime()
Get the minTime property: The smaller timestamp of the two fragments compared.Get the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.Get the previousFragmentDuration property: Previous fragment duration in timescale.Get the previousFragmentTimestamp property: Previous fragment timestamp in timescale.remoteIp()
Get the remoteIp property: Truncated IP of the encoder.Get the remotePort property: Port of the encoder.Get the resolution property: Width x Height for video, null otherwise.Get the resultCode property: Result code.Get the resultMessage property: Result message.streamId()
Get the streamId property: Stream ID in the format "trackName_bitrate".Get the streamName property: Identifier of the stream or connection.Get the timescale property: Timescale in which timestamps are expressed.Get the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.Get the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.trackId()
Get the trackId property: Track index.Get the trackName property: Name of the track.void
validate()
Validates the instance.withBitrate
(Long bitrate) Set the bitrate property: Bitrate of the track.withCurrentFragmentTimestamp
(String currentFragmentTimestamp) Set the currentFragmentTimestamp property: Current fragment timestamp in timescale.withDiscontinuityGap
(Long discontinuityGap) Set the discontinuityGap property: Length of the discontinuity gap in timescale.withDuration
(String duration) Set the duration property: Fragment duration.withFragmentDropReason
(String fragmentDropReason) Set the fragmentDropReason property: Reason the fragment was dropped.withFragmentOneDuration
(String fragmentOneDuration) Set the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.withFragmentOneTimestamp
(String fragmentOneTimestamp) Set the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.withFragmentTwoDuration
(String fragmentTwoDuration) Set the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.withFragmentTwoTimestamp
(String fragmentTwoTimestamp) Set the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.withMaxTime
(String maxTime) Set the maxTime property: The larger timestamp of the two fragments compared.withMaxTimeMediaType
(LiveEventStreamEventMaxTimeMediaType maxTimeMediaType) Set the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.withMediaTimestamp
(String mediaTimestamp) Set the mediaTimestamp property: Fragment timestamp in timescale.withMediaType
(LiveEventStreamEventMediaType mediaType) Set the mediaType property: Type of the track.withMinTime
(String minTime) Set the minTime property: The smaller timestamp of the two fragments compared.withMinTimeMediaType
(LiveEventStreamEventMinTimeMediaType minTimeMediaType) Set the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.withPreviousFragmentDuration
(String previousFragmentDuration) Set the previousFragmentDuration property: Previous fragment duration in timescale.withPreviousFragmentTimestamp
(String previousFragmentTimestamp) Set the previousFragmentTimestamp property: Previous fragment timestamp in timescale.withRemoteIp
(String remoteIp) Set the remoteIp property: Truncated IP of the encoder.withRemotePort
(String remotePort) Set the remotePort property: Port of the encoder.withResolution
(String resolution) Set the resolution property: Width x Height for video, null otherwise.withResultCode
(String resultCode) Set the resultCode property: Result code.withResultMessage
(String resultMessage) Set the resultMessage property: Result message.withStreamId
(String streamId) Set the streamId property: Stream ID in the format "trackName_bitrate".withStreamName
(String streamName) Set the streamName property: Identifier of the stream or connection.withTimescale
(String timescale) Set the timescale property: Timescale in which timestamps are expressed.withTimescaleOfMaxTime
(String timescaleOfMaxTime) Set the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.withTimescaleOfMinTime
(String timescaleOfMinTime) Set the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.withTrackId
(Integer trackId) Set the trackId property: Track index.withTrackName
(String trackName) Set the trackName property: Name of the track.
-
Constructor Details
-
LiveEventStreamEventData
public LiveEventStreamEventData()Creates an instance of LiveEventStreamEventData 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 LiveEventStreamEventData object itself.
-
streamId
Get the streamId property: Stream ID in the format "trackName_bitrate".- Returns:
- the streamId value.
-
withStreamId
Set the streamId property: Stream ID in the format "trackName_bitrate".- Parameters:
streamId
- the streamId value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
trackId
Get the trackId property: Track index.- Returns:
- the trackId value.
-
withTrackId
Set the trackId property: Track index.- Parameters:
trackId
- the trackId value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
mediaType
Get the mediaType property: Type of the track.- Returns:
- the mediaType value.
-
withMediaType
Set the mediaType property: Type of the track.- Parameters:
mediaType
- the mediaType value to set.- Returns:
- the LiveEventStreamEventData 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 LiveEventStreamEventData object itself.
-
mediaTimestamp
Get the mediaTimestamp property: Fragment timestamp in timescale.- Returns:
- the mediaTimestamp value.
-
withMediaTimestamp
Set the mediaTimestamp property: Fragment timestamp in timescale.- Parameters:
mediaTimestamp
- the mediaTimestamp value to set.- Returns:
- the LiveEventStreamEventData 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 LiveEventStreamEventData object itself.
-
previousFragmentTimestamp
Get the previousFragmentTimestamp property: Previous fragment timestamp in timescale.- Returns:
- the previousFragmentTimestamp value.
-
withPreviousFragmentTimestamp
Set the previousFragmentTimestamp property: Previous fragment timestamp in timescale.- Parameters:
previousFragmentTimestamp
- the previousFragmentTimestamp value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
previousFragmentDuration
Get the previousFragmentDuration property: Previous fragment duration in timescale.- Returns:
- the previousFragmentDuration value.
-
withPreviousFragmentDuration
Set the previousFragmentDuration property: Previous fragment duration in timescale.- Parameters:
previousFragmentDuration
- the previousFragmentDuration value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
currentFragmentTimestamp
Get the currentFragmentTimestamp property: Current fragment timestamp in timescale.- Returns:
- the currentFragmentTimestamp value.
-
withCurrentFragmentTimestamp
Set the currentFragmentTimestamp property: Current fragment timestamp in timescale.- Parameters:
currentFragmentTimestamp
- the currentFragmentTimestamp value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
fragmentOneTimestamp
Get the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.- Returns:
- the fragmentOneTimestamp value.
-
withFragmentOneTimestamp
Set the fragmentOneTimestamp property: Timestamp of first fragment used to make a comparison, in timescale.- Parameters:
fragmentOneTimestamp
- the fragmentOneTimestamp value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
fragmentOneDuration
Get the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.- Returns:
- the fragmentOneDuration value.
-
withFragmentOneDuration
Set the fragmentOneDuration property: Duration of first fragment used to make a comparison, in timescale.- Parameters:
fragmentOneDuration
- the fragmentOneDuration value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
fragmentTwoTimestamp
Get the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.- Returns:
- the fragmentTwoTimestamp value.
-
withFragmentTwoTimestamp
Set the fragmentTwoTimestamp property: Timestamp of second fragment used to make a comparison, in timescale.- Parameters:
fragmentTwoTimestamp
- the fragmentTwoTimestamp value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
fragmentTwoDuration
Get the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.- Returns:
- the fragmentTwoDuration value.
-
withFragmentTwoDuration
Set the fragmentTwoDuration property: Duration of second fragment used to make a comparison, in timescale.- Parameters:
fragmentTwoDuration
- the fragmentTwoDuration value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
fragmentDropReason
Get the fragmentDropReason property: Reason the fragment was dropped.- Returns:
- the fragmentDropReason value.
-
withFragmentDropReason
Set the fragmentDropReason property: Reason the fragment was dropped.- Parameters:
fragmentDropReason
- the fragmentDropReason value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
discontinuityGap
Get the discontinuityGap property: Length of the discontinuity gap in timescale.- Returns:
- the discontinuityGap value.
-
withDiscontinuityGap
Set the discontinuityGap property: Length of the discontinuity gap in timescale.- Parameters:
discontinuityGap
- the discontinuityGap value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
streamName
Get the streamName property: Identifier of the stream or connection. Encoder or customer is responsible to add this ID in the ingest URL.- Returns:
- the streamName value.
-
withStreamName
Set the streamName property: Identifier of the stream or connection. Encoder or customer is responsible to add this ID in the ingest URL.- Parameters:
streamName
- the streamName value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
resultCode
Get the resultCode property: Result code.- Returns:
- the resultCode value.
-
withResultCode
Set the resultCode property: Result code.- Parameters:
resultCode
- the resultCode value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
resultMessage
Get the resultMessage property: Result message.- Returns:
- the resultMessage value.
-
withResultMessage
Set the resultMessage property: Result message.- Parameters:
resultMessage
- the resultMessage value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
duration
Get the duration property: Fragment duration.- Returns:
- the duration value.
-
withDuration
Set the duration property: Fragment duration.- Parameters:
duration
- the duration value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
resolution
Get the resolution property: Width x Height for video, null otherwise.- Returns:
- the resolution value.
-
withResolution
Set the resolution property: Width x Height for video, null otherwise.- Parameters:
resolution
- the resolution value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
minTime
Get the minTime property: The smaller timestamp of the two fragments compared.- Returns:
- the minTime value.
-
withMinTime
Set the minTime property: The smaller timestamp of the two fragments compared.- Parameters:
minTime
- the minTime value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
minTimeMediaType
Get the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.- Returns:
- the minTimeMediaType value.
-
withMinTimeMediaType
public LiveEventStreamEventData withMinTimeMediaType(LiveEventStreamEventMinTimeMediaType minTimeMediaType) Set the minTimeMediaType property: The media type of the smaller timestamp of two fragments compared.- Parameters:
minTimeMediaType
- the minTimeMediaType value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
maxTime
Get the maxTime property: The larger timestamp of the two fragments compared.- Returns:
- the maxTime value.
-
withMaxTime
Set the maxTime property: The larger timestamp of the two fragments compared.- Parameters:
maxTime
- the maxTime value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
maxTimeMediaType
Get the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.- Returns:
- the maxTimeMediaType value.
-
withMaxTimeMediaType
public LiveEventStreamEventData withMaxTimeMediaType(LiveEventStreamEventMaxTimeMediaType maxTimeMediaType) Set the maxTimeMediaType property: The media type of the larger timestamp of two fragments compared.- Parameters:
maxTimeMediaType
- the maxTimeMediaType value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
timescaleOfMinTime
Get the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.- Returns:
- the timescaleOfMinTime value.
-
withTimescaleOfMinTime
Set the timescaleOfMinTime property: Timescale of the fragment with the smaller timestamp.- Parameters:
timescaleOfMinTime
- the timescaleOfMinTime value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
timescaleOfMaxTime
Get the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.- Returns:
- the timescaleOfMaxTime value.
-
withTimescaleOfMaxTime
Set the timescaleOfMaxTime property: Timescale of the fragment with the larger timestamp.- Parameters:
timescaleOfMaxTime
- the timescaleOfMaxTime value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
remoteIp
Get the remoteIp property: Truncated IP of the encoder.- Returns:
- the remoteIp value.
-
withRemoteIp
Set the remoteIp property: Truncated IP of the encoder.- Parameters:
remoteIp
- the remoteIp value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
remotePort
Get the remotePort property: Port of the encoder.- Returns:
- the remotePort value.
-
withRemotePort
Set the remotePort property: Port of the encoder.- Parameters:
remotePort
- the remotePort value to set.- Returns:
- the LiveEventStreamEventData object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-