Class MediaStream
java.lang.Object
com.microsoft.graph.models.callrecords.MediaStream
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class MediaStream
extends Object
implements com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.store.BackedModel, com.microsoft.kiota.serialization.Parsable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.microsoft.kiota.store.BackingStoreStores model information. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaStreamcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the AdditionalData property value.Gets the audioCodec property value.Gets the averageAudioDegradation property value.com.microsoft.kiota.PeriodAndDurationGets the averageAudioNetworkJitter property value.Gets the averageBandwidthEstimate property value.com.microsoft.kiota.PeriodAndDurationGets the averageFreezeDuration property value.com.microsoft.kiota.PeriodAndDurationGets the averageJitter property value.Gets the averagePacketLossRate property value.Gets the averageRatioOfConcealedSamples property value.Gets the averageReceivedFrameRate property value.com.microsoft.kiota.PeriodAndDurationGets the averageRoundTripTime property value.Gets the averageVideoFrameLossPercentage property value.Gets the averageVideoFrameRate property value.Gets the averageVideoPacketLossRate property value.com.microsoft.kiota.store.BackingStoreGets the backingStore property value.Gets the endDateTime property value.The deserialization information for the current modelGets the isAudioForwardErrorCorrectionUsed property value.Gets the lowFrameRateRatio property value.Gets the lowVideoProcessingCapabilityRatio property value.com.microsoft.kiota.PeriodAndDurationGets the maxAudioNetworkJitter property value.com.microsoft.kiota.PeriodAndDurationGets the maxJitter property value.Gets the maxPacketLossRate property value.Gets the maxRatioOfConcealedSamples property value.com.microsoft.kiota.PeriodAndDurationGets the maxRoundTripTime property value.Gets the @odata.type property value.Gets the packetUtilization property value.Gets the postForwardErrorCorrectionPacketLossRate property value.com.microsoft.kiota.PeriodAndDurationGets the rmsFreezeDuration property value.Gets the startDateTime property value.Gets the streamDirection property value.Gets the streamId property value.Gets the videoCodec property value.Gets the wasMediaBypassed property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetAdditionalData(Map<String, Object> value) Sets the AdditionalData property value.voidsetAudioCodec(AudioCodec value) Sets the audioCodec property value.voidsetAverageAudioDegradation(Float value) Sets the averageAudioDegradation property value.voidsetAverageAudioNetworkJitter(com.microsoft.kiota.PeriodAndDuration value) Sets the averageAudioNetworkJitter property value.voidsetAverageBandwidthEstimate(Long value) Sets the averageBandwidthEstimate property value.voidsetAverageFreezeDuration(com.microsoft.kiota.PeriodAndDuration value) Sets the averageFreezeDuration property value.voidsetAverageJitter(com.microsoft.kiota.PeriodAndDuration value) Sets the averageJitter property value.voidsetAveragePacketLossRate(Float value) Sets the averagePacketLossRate property value.voidSets the averageRatioOfConcealedSamples property value.voidsetAverageReceivedFrameRate(Float value) Sets the averageReceivedFrameRate property value.voidsetAverageRoundTripTime(com.microsoft.kiota.PeriodAndDuration value) Sets the averageRoundTripTime property value.voidSets the averageVideoFrameLossPercentage property value.voidsetAverageVideoFrameRate(Float value) Sets the averageVideoFrameRate property value.voidSets the averageVideoPacketLossRate property value.voidsetBackingStore(com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value.voidsetEndDateTime(OffsetDateTime value) Sets the endDateTime property value.voidSets the isAudioForwardErrorCorrectionUsed property value.voidsetLowFrameRateRatio(Float value) Sets the lowFrameRateRatio property value.voidSets the lowVideoProcessingCapabilityRatio property value.voidsetMaxAudioNetworkJitter(com.microsoft.kiota.PeriodAndDuration value) Sets the maxAudioNetworkJitter property value.voidsetMaxJitter(com.microsoft.kiota.PeriodAndDuration value) Sets the maxJitter property value.voidsetMaxPacketLossRate(Float value) Sets the maxPacketLossRate property value.voidSets the maxRatioOfConcealedSamples property value.voidsetMaxRoundTripTime(com.microsoft.kiota.PeriodAndDuration value) Sets the maxRoundTripTime property value.voidsetOdataType(String value) Sets the @odata.type property value.voidsetPacketUtilization(Long value) Sets the packetUtilization property value.voidSets the postForwardErrorCorrectionPacketLossRate property value.voidsetRmsFreezeDuration(com.microsoft.kiota.PeriodAndDuration value) Sets the rmsFreezeDuration property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidSets the streamDirection property value.voidsetStreamId(String value) Sets the streamId property value.voidsetVideoCodec(VideoCodec value) Sets the videoCodec property value.voidsetWasMediaBypassed(Boolean value) Sets the wasMediaBypassed property value.
-
Field Details
-
backingStore
@Nonnull protected com.microsoft.kiota.store.BackingStore backingStoreStores model information.
-
-
Constructor Details
-
MediaStream
public MediaStream()Instantiates a newMediaStreamand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static MediaStream createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
MediaStream
-
getAdditionalData
Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. -
getAudioCodec
Gets the audioCodec property value. Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue.- Returns:
- a
AudioCodec
-
getAverageAudioDegradation
Gets the averageAudioDegradation property value. Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio.- Returns:
- a
Float
-
getAverageAudioNetworkJitter
@Nullable public com.microsoft.kiota.PeriodAndDuration getAverageAudioNetworkJitter()Gets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getAverageBandwidthEstimate
Gets the averageBandwidthEstimate property value. Average estimated bandwidth available between two endpoints in bits per second.- Returns:
- a
Long
-
getAverageFreezeDuration
@Nullable public com.microsoft.kiota.PeriodAndDuration getAverageFreezeDuration()Gets the averageFreezeDuration property value. Average duration of the received freezing time in the video stream.- Returns:
- a
PeriodAndDuration
-
getAverageJitter
@Nullable public com.microsoft.kiota.PeriodAndDuration getAverageJitter()Gets the averageJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getAveragePacketLossRate
Gets the averagePacketLossRate property value. Average packet loss rate for stream.- Returns:
- a
Float
-
getAverageRatioOfConcealedSamples
Gets the averageRatioOfConcealedSamples property value. Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames.- Returns:
- a
Float
-
getAverageReceivedFrameRate
Gets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session.- Returns:
- a
Float
-
getAverageRoundTripTime
@Nullable public com.microsoft.kiota.PeriodAndDuration getAverageRoundTripTime()Gets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getAverageVideoFrameLossPercentage
Gets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.- Returns:
- a
Float
-
getAverageVideoFrameRate
Gets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session.- Returns:
- a
Float
-
getAverageVideoPacketLossRate
Gets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session.- Returns:
- a
Float
-
getBackingStore
@Nonnull public com.microsoft.kiota.store.BackingStore getBackingStore()Gets the backingStore property value. Stores model information.- Specified by:
getBackingStorein interfacecom.microsoft.kiota.store.BackedModel- Returns:
- a
BackingStore
-
getEndDateTime
Gets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model -
getIsAudioForwardErrorCorrectionUsed
Gets the isAudioForwardErrorCorrectionUsed property value. Indicates whether the forward error correction (FEC) was used at some point during the session. The default value is null.- Returns:
- a
Boolean
-
getLowFrameRateRatio
Gets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second.- Returns:
- a
Float
-
getLowVideoProcessingCapabilityRatio
Gets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability.- Returns:
- a
Float
-
getMaxAudioNetworkJitter
@Nullable public com.microsoft.kiota.PeriodAndDuration getMaxAudioNetworkJitter()Gets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getMaxJitter
@Nullable public com.microsoft.kiota.PeriodAndDuration getMaxJitter()Gets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getMaxPacketLossRate
Gets the maxPacketLossRate property value. Maximum packet loss rate for the stream.- Returns:
- a
Float
-
getMaxRatioOfConcealedSamples
Gets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer.- Returns:
- a
Float
-
getMaxRoundTripTime
@Nullable public com.microsoft.kiota.PeriodAndDuration getMaxRoundTripTime()Gets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Returns:
- a
PeriodAndDuration
-
getOdataType
Gets the @odata.type property value. The OdataType property- Returns:
- a
String
-
getPacketUtilization
Gets the packetUtilization property value. Packet count for the stream.- Returns:
- a
Long
-
getPostForwardErrorCorrectionPacketLossRate
Gets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs.- Returns:
- a
Float
-
getRmsFreezeDuration
@Nullable public com.microsoft.kiota.PeriodAndDuration getRmsFreezeDuration()Gets the rmsFreezeDuration property value. Average duration of the received freezing time in the video stream represented in root mean square.- Returns:
- a
PeriodAndDuration
-
getStartDateTime
Gets the startDateTime property value. UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.- Returns:
- a
OffsetDateTime
-
getStreamDirection
Gets the streamDirection property value. The streamDirection property- Returns:
- a
MediaStreamDirection
-
getStreamId
Gets the streamId property value. Unique identifier for the stream.- Returns:
- a
String
-
getVideoCodec
Gets the videoCodec property value. Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.- Returns:
- a
VideoCodec
-
getWasMediaBypassed
Gets the wasMediaBypassed property value. True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise.- Returns:
- a
Boolean
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object- Specified by:
serializein interfacecom.microsoft.kiota.serialization.Parsable- Parameters:
writer- Serialization writer to use to serialize this model
-
setAdditionalData
Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.- Parameters:
value- Value to set for the AdditionalData property.
-
setAudioCodec
Sets the audioCodec property value. Codec name used to encode audio for transmission on the network. Possible values are: unknown, invalid, cn, pcma, pcmu, amrWide, g722, g7221, g7221c, g729, multiChannelAudio, muchv2, opus, satin, satinFullband, rtAudio8, rtAudio16, silk, silkNarrow, silkWide, siren, xmsRta, unknownFutureValue.- Parameters:
value- Value to set for the audioCodec property.
-
setAverageAudioDegradation
Sets the averageAudioDegradation property value. Average Network Mean Opinion Score degradation for stream. Represents how much the network loss and jitter has impacted the quality of received audio.- Parameters:
value- Value to set for the averageAudioDegradation property.
-
setAverageAudioNetworkJitter
public void setAverageAudioNetworkJitter(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the averageAudioNetworkJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the averageAudioNetworkJitter property.
-
setAverageBandwidthEstimate
Sets the averageBandwidthEstimate property value. Average estimated bandwidth available between two endpoints in bits per second.- Parameters:
value- Value to set for the averageBandwidthEstimate property.
-
setAverageFreezeDuration
public void setAverageFreezeDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the averageFreezeDuration property value. Average duration of the received freezing time in the video stream.- Parameters:
value- Value to set for the averageFreezeDuration property.
-
setAverageJitter
public void setAverageJitter(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the averageJitter property value. Average jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the averageJitter property.
-
setAveragePacketLossRate
Sets the averagePacketLossRate property value. Average packet loss rate for stream.- Parameters:
value- Value to set for the averagePacketLossRate property.
-
setAverageRatioOfConcealedSamples
Sets the averageRatioOfConcealedSamples property value. Ratio of the number of audio frames with samples generated by packet loss concealment to the total number of audio frames.- Parameters:
value- Value to set for the averageRatioOfConcealedSamples property.
-
setAverageReceivedFrameRate
Sets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session.- Parameters:
value- Value to set for the averageReceivedFrameRate property.
-
setAverageRoundTripTime
public void setAverageRoundTripTime(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the averageRoundTripTime property value. Average network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the averageRoundTripTime property.
-
setAverageVideoFrameLossPercentage
Sets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.- Parameters:
value- Value to set for the averageVideoFrameLossPercentage property.
-
setAverageVideoFrameRate
Sets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session.- Parameters:
value- Value to set for the averageVideoFrameRate property.
-
setAverageVideoPacketLossRate
Sets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in RFC 3550, computed over the duration of the session.- Parameters:
value- Value to set for the averageVideoPacketLossRate property.
-
setBackingStore
public void setBackingStore(@Nonnull com.microsoft.kiota.store.BackingStore value) Sets the backingStore property value. Stores model information.- Parameters:
value- Value to set for the backingStore property.
-
setEndDateTime
Sets the endDateTime property value. UTC time when the stream ended. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.- Parameters:
value- Value to set for the endDateTime property.
-
setIsAudioForwardErrorCorrectionUsed
Sets the isAudioForwardErrorCorrectionUsed property value. Indicates whether the forward error correction (FEC) was used at some point during the session. The default value is null.- Parameters:
value- Value to set for the isAudioForwardErrorCorrectionUsed property.
-
setLowFrameRateRatio
Sets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second.- Parameters:
value- Value to set for the lowFrameRateRatio property.
-
setLowVideoProcessingCapabilityRatio
Sets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability.- Parameters:
value- Value to set for the lowVideoProcessingCapabilityRatio property.
-
setMaxAudioNetworkJitter
public void setMaxAudioNetworkJitter(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the maxAudioNetworkJitter property value. Maximum of audio network jitter computed over each of the 20 second windows during the session, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the maxAudioNetworkJitter property.
-
setMaxJitter
public void setMaxJitter(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the maxJitter property value. Maximum jitter for the stream computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the maxJitter property.
-
setMaxPacketLossRate
Sets the maxPacketLossRate property value. Maximum packet loss rate for the stream.- Parameters:
value- Value to set for the maxPacketLossRate property.
-
setMaxRatioOfConcealedSamples
Sets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer.- Parameters:
value- Value to set for the maxRatioOfConcealedSamples property.
-
setMaxRoundTripTime
public void setMaxRoundTripTime(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the maxRoundTripTime property value. Maximum network propagation round-trip time computed as specified in RFC 3550, denoted in ISO 8601 format. For example, 1 second is denoted as 'PT1S', where 'P' is the duration designator, 'T' is the time designator, and 'S' is the second designator.- Parameters:
value- Value to set for the maxRoundTripTime property.
-
setOdataType
Sets the @odata.type property value. The OdataType property- Parameters:
value- Value to set for the @odata.type property.
-
setPacketUtilization
Sets the packetUtilization property value. Packet count for the stream.- Parameters:
value- Value to set for the packetUtilization property.
-
setPostForwardErrorCorrectionPacketLossRate
Sets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs.- Parameters:
value- Value to set for the postForwardErrorCorrectionPacketLossRate property.
-
setRmsFreezeDuration
public void setRmsFreezeDuration(@Nullable com.microsoft.kiota.PeriodAndDuration value) Sets the rmsFreezeDuration property value. Average duration of the received freezing time in the video stream represented in root mean square.- Parameters:
value- Value to set for the rmsFreezeDuration property.
-
setStartDateTime
Sets the startDateTime property value. UTC time when the stream started. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. This field is only available for streams that use the SIP protocol.- Parameters:
value- Value to set for the startDateTime property.
-
setStreamDirection
Sets the streamDirection property value. The streamDirection property- Parameters:
value- Value to set for the streamDirection property.
-
setStreamId
Sets the streamId property value. Unique identifier for the stream.- Parameters:
value- Value to set for the streamId property.
-
setVideoCodec
Sets the videoCodec property value. Codec name used to encode video for transmission on the network. Possible values are: unknown, invalid, av1, h263, h264, h264s, h264uc, h265, rtvc1, rtVideo, xrtvc1, unknownFutureValue.- Parameters:
value- Value to set for the videoCodec property.
-
setWasMediaBypassed
Sets the wasMediaBypassed property value. True if the media stream bypassed the Mediation Server and went straight between client and PSTN Gateway/PBX, false otherwise.- Parameters:
value- Value to set for the wasMediaBypassed property.
-