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 Details

    • backingStore

      @Nonnull protected com.microsoft.kiota.store.BackingStore backingStore
      Stores model information.
  • Constructor Details

    • MediaStream

      public MediaStream()
      Instantiates a new MediaStream and 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

      @Nonnull public Map<String,Object> 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.
      Specified by:
      getAdditionalData in interface com.microsoft.kiota.serialization.AdditionalDataHolder
      Returns:
      a Map<String,Object>
    • getAudioCodec

      @Nullable public AudioCodec 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

      @Nullable public Float 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

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

      @Nullable public Float getAveragePacketLossRate()
      Gets the averagePacketLossRate property value. Average packet loss rate for stream.
      Returns:
      a Float
    • getAverageRatioOfConcealedSamples

      @Nullable public 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

      @Nullable public 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

      @Nullable public Float getAverageVideoFrameLossPercentage()
      Gets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.
      Returns:
      a Float
    • getAverageVideoFrameRate

      @Nullable public 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

      @Nullable public 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:
      getBackingStore in interface com.microsoft.kiota.store.BackedModel
      Returns:
      a BackingStore
    • getEndDateTime

      @Nullable public OffsetDateTime 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
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIsAudioForwardErrorCorrectionUsed

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

      @Nullable public Float 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

      @Nullable public 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

      @Nullable public Float getMaxPacketLossRate()
      Gets the maxPacketLossRate property value. Maximum packet loss rate for the stream.
      Returns:
      a Float
    • getMaxRatioOfConcealedSamples

      @Nullable public 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

      @Nullable public String getOdataType()
      Gets the @odata.type property value. The OdataType property
      Returns:
      a String
    • getPacketUtilization

      @Nullable public Long getPacketUtilization()
      Gets the packetUtilization property value. Packet count for the stream.
      Returns:
      a Long
    • getPostForwardErrorCorrectionPacketLossRate

      @Nullable public Float 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

      @Nullable public OffsetDateTime 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

      @Nullable public MediaStreamDirection getStreamDirection()
      Gets the streamDirection property value. The streamDirection property
      Returns:
      a MediaStreamDirection
    • getStreamId

      @Nullable public String getStreamId()
      Gets the streamId property value. Unique identifier for the stream.
      Returns:
      a String
    • getVideoCodec

      @Nullable public VideoCodec 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

      @Nullable public Boolean 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:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAdditionalData

      public void setAdditionalData(@Nullable Map<String,Object> value)
      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

      public void setAudioCodec(@Nullable AudioCodec value)
      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

      public void setAverageAudioDegradation(@Nullable Float value)
      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

      public void setAverageBandwidthEstimate(@Nullable Long value)
      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

      public void setAveragePacketLossRate(@Nullable Float value)
      Sets the averagePacketLossRate property value. Average packet loss rate for stream.
      Parameters:
      value - Value to set for the averagePacketLossRate property.
    • setAverageRatioOfConcealedSamples

      public void setAverageRatioOfConcealedSamples(@Nullable Float value)
      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

      public void setAverageReceivedFrameRate(@Nullable Float value)
      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

      public void setAverageVideoFrameLossPercentage(@Nullable Float value)
      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

      public void setAverageVideoFrameRate(@Nullable Float value)
      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

      public void setAverageVideoPacketLossRate(@Nullable Float value)
      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

      public void setEndDateTime(@Nullable OffsetDateTime value)
      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

      public void setIsAudioForwardErrorCorrectionUsed(@Nullable Boolean value)
      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

      public void setLowFrameRateRatio(@Nullable Float value)
      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

      public void setLowVideoProcessingCapabilityRatio(@Nullable Float value)
      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

      public void setMaxPacketLossRate(@Nullable Float value)
      Sets the maxPacketLossRate property value. Maximum packet loss rate for the stream.
      Parameters:
      value - Value to set for the maxPacketLossRate property.
    • setMaxRatioOfConcealedSamples

      public void setMaxRatioOfConcealedSamples(@Nullable Float value)
      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

      public void setOdataType(@Nullable String value)
      Sets the @odata.type property value. The OdataType property
      Parameters:
      value - Value to set for the @odata.type property.
    • setPacketUtilization

      public void setPacketUtilization(@Nullable Long value)
      Sets the packetUtilization property value. Packet count for the stream.
      Parameters:
      value - Value to set for the packetUtilization property.
    • setPostForwardErrorCorrectionPacketLossRate

      public void setPostForwardErrorCorrectionPacketLossRate(@Nullable Float value)
      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

      public void setStartDateTime(@Nullable OffsetDateTime value)
      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

      public void setStreamDirection(@Nullable MediaStreamDirection value)
      Sets the streamDirection property value. The streamDirection property
      Parameters:
      value - Value to set for the streamDirection property.
    • setStreamId

      public void setStreamId(@Nullable String value)
      Sets the streamId property value. Unique identifier for the stream.
      Parameters:
      value - Value to set for the streamId property.
    • setVideoCodec

      public void setVideoCodec(@Nullable VideoCodec value)
      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

      public void setWasMediaBypassed(@Nullable Boolean value)
      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.