Class: MicrosoftGraph::Models::CallRecordsMediaStream
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::CallRecordsMediaStream
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/call_records_media_stream.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#audio_codec ⇒ Object
Gets the audioCodec property value.
-
#audio_codec=(value) ⇒ Object
Sets the audioCodec property value.
-
#average_audio_degradation ⇒ Object
Gets the averageAudioDegradation property value.
-
#average_audio_degradation=(value) ⇒ Object
Sets the averageAudioDegradation property value.
-
#average_audio_network_jitter ⇒ Object
Gets the averageAudioNetworkJitter property value.
-
#average_audio_network_jitter=(value) ⇒ Object
Sets the averageAudioNetworkJitter property value.
-
#average_bandwidth_estimate ⇒ Object
Gets the averageBandwidthEstimate property value.
-
#average_bandwidth_estimate=(value) ⇒ Object
Sets the averageBandwidthEstimate property value.
-
#average_freeze_duration ⇒ Object
Gets the averageFreezeDuration property value.
-
#average_freeze_duration=(value) ⇒ Object
Sets the averageFreezeDuration property value.
-
#average_jitter ⇒ Object
Gets the averageJitter property value.
-
#average_jitter=(value) ⇒ Object
Sets the averageJitter property value.
-
#average_packet_loss_rate ⇒ Object
Gets the averagePacketLossRate property value.
-
#average_packet_loss_rate=(value) ⇒ Object
Sets the averagePacketLossRate property value.
-
#average_ratio_of_concealed_samples ⇒ Object
Gets the averageRatioOfConcealedSamples property value.
-
#average_ratio_of_concealed_samples=(value) ⇒ Object
Sets the averageRatioOfConcealedSamples property value.
-
#average_received_frame_rate ⇒ Object
Gets the averageReceivedFrameRate property value.
-
#average_received_frame_rate=(value) ⇒ Object
Sets the averageReceivedFrameRate property value.
-
#average_round_trip_time ⇒ Object
Gets the averageRoundTripTime property value.
-
#average_round_trip_time=(value) ⇒ Object
Sets the averageRoundTripTime property value.
-
#average_video_frame_loss_percentage ⇒ Object
Gets the averageVideoFrameLossPercentage property value.
-
#average_video_frame_loss_percentage=(value) ⇒ Object
Sets the averageVideoFrameLossPercentage property value.
-
#average_video_frame_rate ⇒ Object
Gets the averageVideoFrameRate property value.
-
#average_video_frame_rate=(value) ⇒ Object
Sets the averageVideoFrameRate property value.
-
#average_video_packet_loss_rate ⇒ Object
Gets the averageVideoPacketLossRate property value.
-
#average_video_packet_loss_rate=(value) ⇒ Object
Sets the averageVideoPacketLossRate property value.
-
#end_date_time ⇒ Object
Gets the endDateTime property value.
-
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new callRecordsMediaStream and sets the default values.
-
#is_audio_forward_error_correction_used ⇒ Object
Gets the isAudioForwardErrorCorrectionUsed property value.
-
#is_audio_forward_error_correction_used=(value) ⇒ Object
Sets the isAudioForwardErrorCorrectionUsed property value.
-
#low_frame_rate_ratio ⇒ Object
Gets the lowFrameRateRatio property value.
-
#low_frame_rate_ratio=(value) ⇒ Object
Sets the lowFrameRateRatio property value.
-
#low_video_processing_capability_ratio ⇒ Object
Gets the lowVideoProcessingCapabilityRatio property value.
-
#low_video_processing_capability_ratio=(value) ⇒ Object
Sets the lowVideoProcessingCapabilityRatio property value.
-
#max_audio_network_jitter ⇒ Object
Gets the maxAudioNetworkJitter property value.
-
#max_audio_network_jitter=(value) ⇒ Object
Sets the maxAudioNetworkJitter property value.
-
#max_jitter ⇒ Object
Gets the maxJitter property value.
-
#max_jitter=(value) ⇒ Object
Sets the maxJitter property value.
-
#max_packet_loss_rate ⇒ Object
Gets the maxPacketLossRate property value.
-
#max_packet_loss_rate=(value) ⇒ Object
Sets the maxPacketLossRate property value.
-
#max_ratio_of_concealed_samples ⇒ Object
Gets the maxRatioOfConcealedSamples property value.
-
#max_ratio_of_concealed_samples=(value) ⇒ Object
Sets the maxRatioOfConcealedSamples property value.
-
#max_round_trip_time ⇒ Object
Gets the maxRoundTripTime property value.
-
#max_round_trip_time=(value) ⇒ Object
Sets the maxRoundTripTime property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#packet_utilization ⇒ Object
Gets the packetUtilization property value.
-
#packet_utilization=(value) ⇒ Object
Sets the packetUtilization property value.
-
#post_forward_error_correction_packet_loss_rate ⇒ Object
Gets the postForwardErrorCorrectionPacketLossRate property value.
-
#post_forward_error_correction_packet_loss_rate=(value) ⇒ Object
Sets the postForwardErrorCorrectionPacketLossRate property value.
-
#rms_freeze_duration ⇒ Object
Gets the rmsFreezeDuration property value.
-
#rms_freeze_duration=(value) ⇒ Object
Sets the rmsFreezeDuration property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#start_date_time ⇒ Object
Gets the startDateTime property value.
-
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value.
-
#stream_direction ⇒ Object
Gets the streamDirection property value.
-
#stream_direction=(value) ⇒ Object
Sets the streamDirection property value.
-
#stream_id ⇒ Object
Gets the streamId property value.
-
#stream_id=(value) ⇒ Object
Sets the streamId property value.
-
#video_codec ⇒ Object
Gets the videoCodec property value.
-
#video_codec=(value) ⇒ Object
Sets the videoCodec property value.
-
#was_media_bypassed ⇒ Object
Gets the wasMediaBypassed property value.
-
#was_media_bypassed=(value) ⇒ Object
Sets the wasMediaBypassed property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new callRecordsMediaStream and sets the default values.
320 321 322 |
# File 'lib/models/call_records_media_stream.rb', line 320 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
328 329 330 331 |
# File 'lib/models/call_records_media_stream.rb', line 328 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return CallRecordsMediaStream.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
110 111 112 |
# File 'lib/models/call_records_media_stream.rb', line 110 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
118 119 120 |
# File 'lib/models/call_records_media_stream.rb', line 118 def additional_data=(value) @additional_data = value end |
#audio_codec ⇒ Object
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.
125 126 127 |
# File 'lib/models/call_records_media_stream.rb', line 125 def audio_codec return @audio_codec end |
#audio_codec=(value) ⇒ Object
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.
133 134 135 |
# File 'lib/models/call_records_media_stream.rb', line 133 def audio_codec=(value) @audio_codec = value end |
#average_audio_degradation ⇒ Object
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.
140 141 142 |
# File 'lib/models/call_records_media_stream.rb', line 140 def average_audio_degradation return @average_audio_degradation end |
#average_audio_degradation=(value) ⇒ Object
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.
148 149 150 |
# File 'lib/models/call_records_media_stream.rb', line 148 def average_audio_degradation=(value) @average_audio_degradation = value end |
#average_audio_network_jitter ⇒ Object
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.
155 156 157 |
# File 'lib/models/call_records_media_stream.rb', line 155 def average_audio_network_jitter return @average_audio_network_jitter end |
#average_audio_network_jitter=(value) ⇒ Object
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.
163 164 165 |
# File 'lib/models/call_records_media_stream.rb', line 163 def average_audio_network_jitter=(value) @average_audio_network_jitter = value end |
#average_bandwidth_estimate ⇒ Object
Gets the averageBandwidthEstimate property value. Average estimated bandwidth available between two endpoints in bits per second.
170 171 172 |
# File 'lib/models/call_records_media_stream.rb', line 170 def average_bandwidth_estimate return @average_bandwidth_estimate end |
#average_bandwidth_estimate=(value) ⇒ Object
Sets the averageBandwidthEstimate property value. Average estimated bandwidth available between two endpoints in bits per second.
178 179 180 |
# File 'lib/models/call_records_media_stream.rb', line 178 def average_bandwidth_estimate=(value) @average_bandwidth_estimate = value end |
#average_freeze_duration ⇒ Object
Gets the averageFreezeDuration property value. Average duration of the received freezing time in the video stream.
185 186 187 |
# File 'lib/models/call_records_media_stream.rb', line 185 def average_freeze_duration return @average_freeze_duration end |
#average_freeze_duration=(value) ⇒ Object
Sets the averageFreezeDuration property value. Average duration of the received freezing time in the video stream.
193 194 195 |
# File 'lib/models/call_records_media_stream.rb', line 193 def average_freeze_duration=(value) @average_freeze_duration = value end |
#average_jitter ⇒ Object
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.
200 201 202 |
# File 'lib/models/call_records_media_stream.rb', line 200 def average_jitter return @average_jitter end |
#average_jitter=(value) ⇒ Object
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.
208 209 210 |
# File 'lib/models/call_records_media_stream.rb', line 208 def average_jitter=(value) @average_jitter = value end |
#average_packet_loss_rate ⇒ Object
Gets the averagePacketLossRate property value. Average packet loss rate for stream.
215 216 217 |
# File 'lib/models/call_records_media_stream.rb', line 215 def average_packet_loss_rate return @average_packet_loss_rate end |
#average_packet_loss_rate=(value) ⇒ Object
Sets the averagePacketLossRate property value. Average packet loss rate for stream.
223 224 225 |
# File 'lib/models/call_records_media_stream.rb', line 223 def average_packet_loss_rate=(value) @average_packet_loss_rate = value end |
#average_ratio_of_concealed_samples ⇒ Object
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.
230 231 232 |
# File 'lib/models/call_records_media_stream.rb', line 230 def average_ratio_of_concealed_samples return @average_ratio_of_concealed_samples end |
#average_ratio_of_concealed_samples=(value) ⇒ Object
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.
238 239 240 |
# File 'lib/models/call_records_media_stream.rb', line 238 def average_ratio_of_concealed_samples=(value) @average_ratio_of_concealed_samples = value end |
#average_received_frame_rate ⇒ Object
Gets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session.
245 246 247 |
# File 'lib/models/call_records_media_stream.rb', line 245 def average_received_frame_rate return @average_received_frame_rate end |
#average_received_frame_rate=(value) ⇒ Object
Sets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session.
253 254 255 |
# File 'lib/models/call_records_media_stream.rb', line 253 def average_received_frame_rate=(value) @average_received_frame_rate = value end |
#average_round_trip_time ⇒ Object
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.
260 261 262 |
# File 'lib/models/call_records_media_stream.rb', line 260 def average_round_trip_time return @average_round_trip_time end |
#average_round_trip_time=(value) ⇒ Object
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.
268 269 270 |
# File 'lib/models/call_records_media_stream.rb', line 268 def average_round_trip_time=(value) @average_round_trip_time = value end |
#average_video_frame_loss_percentage ⇒ Object
Gets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.
275 276 277 |
# File 'lib/models/call_records_media_stream.rb', line 275 def average_video_frame_loss_percentage return @average_video_frame_loss_percentage end |
#average_video_frame_loss_percentage=(value) ⇒ Object
Sets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.
283 284 285 |
# File 'lib/models/call_records_media_stream.rb', line 283 def average_video_frame_loss_percentage=(value) @average_video_frame_loss_percentage = value end |
#average_video_frame_rate ⇒ Object
Gets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session.
290 291 292 |
# File 'lib/models/call_records_media_stream.rb', line 290 def average_video_frame_rate return @average_video_frame_rate end |
#average_video_frame_rate=(value) ⇒ Object
Sets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session.
298 299 300 |
# File 'lib/models/call_records_media_stream.rb', line 298 def average_video_frame_rate=(value) @average_video_frame_rate = value end |
#average_video_packet_loss_rate ⇒ Object
Gets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session.
305 306 307 |
# File 'lib/models/call_records_media_stream.rb', line 305 def average_video_packet_loss_rate return @average_video_packet_loss_rate end |
#average_video_packet_loss_rate=(value) ⇒ Object
Sets the averageVideoPacketLossRate property value. Average fraction of packets lost, as specified in [RFC 3550][], computed over the duration of the session.
313 314 315 |
# File 'lib/models/call_records_media_stream.rb', line 313 def average_video_packet_loss_rate=(value) @average_video_packet_loss_rate = value end |
#end_date_time ⇒ Object
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
336 337 338 |
# File 'lib/models/call_records_media_stream.rb', line 336 def end_date_time return @end_date_time end |
#end_date_time=(value) ⇒ Object
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
344 345 346 |
# File 'lib/models/call_records_media_stream.rb', line 344 def end_date_time=(value) @end_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 |
# File 'lib/models/call_records_media_stream.rb', line 351 def get_field_deserializers() return { "audioCodec" => lambda {|n| @audio_codec = n.get_enum_value(MicrosoftGraph::Models::CallRecordsAudioCodec) }, "averageAudioDegradation" => lambda {|n| @average_audio_degradation = n.get_float_value() }, "averageAudioNetworkJitter" => lambda {|n| @average_audio_network_jitter = n.get_duration_value() }, "averageBandwidthEstimate" => lambda {|n| @average_bandwidth_estimate = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "averageFreezeDuration" => lambda {|n| @average_freeze_duration = n.get_duration_value() }, "averageJitter" => lambda {|n| @average_jitter = n.get_duration_value() }, "averagePacketLossRate" => lambda {|n| @average_packet_loss_rate = n.get_float_value() }, "averageRatioOfConcealedSamples" => lambda {|n| @average_ratio_of_concealed_samples = n.get_float_value() }, "averageReceivedFrameRate" => lambda {|n| @average_received_frame_rate = n.get_float_value() }, "averageRoundTripTime" => lambda {|n| @average_round_trip_time = n.get_duration_value() }, "averageVideoFrameLossPercentage" => lambda {|n| @average_video_frame_loss_percentage = n.get_float_value() }, "averageVideoFrameRate" => lambda {|n| @average_video_frame_rate = n.get_float_value() }, "averageVideoPacketLossRate" => lambda {|n| @average_video_packet_loss_rate = n.get_float_value() }, "endDateTime" => lambda {|n| @end_date_time = n.get_date_time_value() }, "isAudioForwardErrorCorrectionUsed" => lambda {|n| @is_audio_forward_error_correction_used = n.get_boolean_value() }, "lowFrameRateRatio" => lambda {|n| @low_frame_rate_ratio = n.get_float_value() }, "lowVideoProcessingCapabilityRatio" => lambda {|n| @low_video_processing_capability_ratio = n.get_float_value() }, "maxAudioNetworkJitter" => lambda {|n| @max_audio_network_jitter = n.get_duration_value() }, "maxJitter" => lambda {|n| @max_jitter = n.get_duration_value() }, "maxPacketLossRate" => lambda {|n| @max_packet_loss_rate = n.get_float_value() }, "maxRatioOfConcealedSamples" => lambda {|n| @max_ratio_of_concealed_samples = n.get_float_value() }, "maxRoundTripTime" => lambda {|n| @max_round_trip_time = n.get_duration_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "packetUtilization" => lambda {|n| @packet_utilization = n.get_object_value(lambda {|pn| Int64.create_from_discriminator_value(pn) }) }, "postForwardErrorCorrectionPacketLossRate" => lambda {|n| @post_forward_error_correction_packet_loss_rate = n.get_float_value() }, "rmsFreezeDuration" => lambda {|n| @rms_freeze_duration = n.get_duration_value() }, "startDateTime" => lambda {|n| @start_date_time = n.get_date_time_value() }, "streamDirection" => lambda {|n| @stream_direction = n.get_enum_value(MicrosoftGraph::Models::CallRecordsMediaStreamDirection) }, "streamId" => lambda {|n| @stream_id = n.get_string_value() }, "videoCodec" => lambda {|n| @video_codec = n.get_enum_value(MicrosoftGraph::Models::CallRecordsVideoCodec) }, "wasMediaBypassed" => lambda {|n| @was_media_bypassed = n.get_boolean_value() }, } end |
#is_audio_forward_error_correction_used ⇒ Object
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.
390 391 392 |
# File 'lib/models/call_records_media_stream.rb', line 390 def is_audio_forward_error_correction_used return @is_audio_forward_error_correction_used end |
#is_audio_forward_error_correction_used=(value) ⇒ Object
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.
398 399 400 |
# File 'lib/models/call_records_media_stream.rb', line 398 def is_audio_forward_error_correction_used=(value) @is_audio_forward_error_correction_used = value end |
#low_frame_rate_ratio ⇒ Object
Gets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second.
405 406 407 |
# File 'lib/models/call_records_media_stream.rb', line 405 def low_frame_rate_ratio return @low_frame_rate_ratio end |
#low_frame_rate_ratio=(value) ⇒ Object
Sets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second.
413 414 415 |
# File 'lib/models/call_records_media_stream.rb', line 413 def low_frame_rate_ratio=(value) @low_frame_rate_ratio = value end |
#low_video_processing_capability_ratio ⇒ Object
Gets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability.
420 421 422 |
# File 'lib/models/call_records_media_stream.rb', line 420 def low_video_processing_capability_ratio return @low_video_processing_capability_ratio end |
#low_video_processing_capability_ratio=(value) ⇒ Object
Sets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability.
428 429 430 |
# File 'lib/models/call_records_media_stream.rb', line 428 def low_video_processing_capability_ratio=(value) @low_video_processing_capability_ratio = value end |
#max_audio_network_jitter ⇒ Object
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.
435 436 437 |
# File 'lib/models/call_records_media_stream.rb', line 435 def max_audio_network_jitter return @max_audio_network_jitter end |
#max_audio_network_jitter=(value) ⇒ Object
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.
443 444 445 |
# File 'lib/models/call_records_media_stream.rb', line 443 def max_audio_network_jitter=(value) @max_audio_network_jitter = value end |
#max_jitter ⇒ Object
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.
450 451 452 |
# File 'lib/models/call_records_media_stream.rb', line 450 def max_jitter return @max_jitter end |
#max_jitter=(value) ⇒ Object
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.
458 459 460 |
# File 'lib/models/call_records_media_stream.rb', line 458 def max_jitter=(value) @max_jitter = value end |
#max_packet_loss_rate ⇒ Object
Gets the maxPacketLossRate property value. Maximum packet loss rate for the stream.
465 466 467 |
# File 'lib/models/call_records_media_stream.rb', line 465 def max_packet_loss_rate return @max_packet_loss_rate end |
#max_packet_loss_rate=(value) ⇒ Object
Sets the maxPacketLossRate property value. Maximum packet loss rate for the stream.
473 474 475 |
# File 'lib/models/call_records_media_stream.rb', line 473 def max_packet_loss_rate=(value) @max_packet_loss_rate = value end |
#max_ratio_of_concealed_samples ⇒ Object
Gets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer.
480 481 482 |
# File 'lib/models/call_records_media_stream.rb', line 480 def max_ratio_of_concealed_samples return @max_ratio_of_concealed_samples end |
#max_ratio_of_concealed_samples=(value) ⇒ Object
Sets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer.
488 489 490 |
# File 'lib/models/call_records_media_stream.rb', line 488 def max_ratio_of_concealed_samples=(value) @max_ratio_of_concealed_samples = value end |
#max_round_trip_time ⇒ Object
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.
495 496 497 |
# File 'lib/models/call_records_media_stream.rb', line 495 def max_round_trip_time return @max_round_trip_time end |
#max_round_trip_time=(value) ⇒ Object
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.
503 504 505 |
# File 'lib/models/call_records_media_stream.rb', line 503 def max_round_trip_time=(value) @max_round_trip_time = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
510 511 512 |
# File 'lib/models/call_records_media_stream.rb', line 510 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
518 519 520 |
# File 'lib/models/call_records_media_stream.rb', line 518 def odata_type=(value) @odata_type = value end |
#packet_utilization ⇒ Object
Gets the packetUtilization property value. Packet count for the stream.
525 526 527 |
# File 'lib/models/call_records_media_stream.rb', line 525 def packet_utilization return @packet_utilization end |
#packet_utilization=(value) ⇒ Object
Sets the packetUtilization property value. Packet count for the stream.
533 534 535 |
# File 'lib/models/call_records_media_stream.rb', line 533 def packet_utilization=(value) @packet_utilization = value end |
#post_forward_error_correction_packet_loss_rate ⇒ Object
Gets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs.
540 541 542 |
# File 'lib/models/call_records_media_stream.rb', line 540 def post_forward_error_correction_packet_loss_rate return @post_forward_error_correction_packet_loss_rate end |
#post_forward_error_correction_packet_loss_rate=(value) ⇒ Object
Sets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs.
548 549 550 |
# File 'lib/models/call_records_media_stream.rb', line 548 def post_forward_error_correction_packet_loss_rate=(value) @post_forward_error_correction_packet_loss_rate = value end |
#rms_freeze_duration ⇒ Object
Gets the rmsFreezeDuration property value. Average duration of the received freezing time in the video stream represented in root mean square.
555 556 557 |
# File 'lib/models/call_records_media_stream.rb', line 555 def rms_freeze_duration return @rms_freeze_duration end |
#rms_freeze_duration=(value) ⇒ Object
Sets the rmsFreezeDuration property value. Average duration of the received freezing time in the video stream represented in root mean square.
563 564 565 |
# File 'lib/models/call_records_media_stream.rb', line 563 def rms_freeze_duration=(value) @rms_freeze_duration = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 |
# File 'lib/models/call_records_media_stream.rb', line 571 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_enum_value("audioCodec", @audio_codec) writer.write_float_value("averageAudioDegradation", @average_audio_degradation) writer.write_duration_value("averageAudioNetworkJitter", @average_audio_network_jitter) writer.write_object_value("averageBandwidthEstimate", @average_bandwidth_estimate) writer.write_duration_value("averageFreezeDuration", @average_freeze_duration) writer.write_duration_value("averageJitter", @average_jitter) writer.write_float_value("averagePacketLossRate", @average_packet_loss_rate) writer.write_float_value("averageRatioOfConcealedSamples", @average_ratio_of_concealed_samples) writer.write_float_value("averageReceivedFrameRate", @average_received_frame_rate) writer.write_duration_value("averageRoundTripTime", @average_round_trip_time) writer.write_float_value("averageVideoFrameLossPercentage", @average_video_frame_loss_percentage) writer.write_float_value("averageVideoFrameRate", @average_video_frame_rate) writer.write_float_value("averageVideoPacketLossRate", @average_video_packet_loss_rate) writer.write_date_time_value("endDateTime", @end_date_time) writer.write_boolean_value("isAudioForwardErrorCorrectionUsed", @is_audio_forward_error_correction_used) writer.write_float_value("lowFrameRateRatio", @low_frame_rate_ratio) writer.write_float_value("lowVideoProcessingCapabilityRatio", @low_video_processing_capability_ratio) writer.write_duration_value("maxAudioNetworkJitter", @max_audio_network_jitter) writer.write_duration_value("maxJitter", @max_jitter) writer.write_float_value("maxPacketLossRate", @max_packet_loss_rate) writer.write_float_value("maxRatioOfConcealedSamples", @max_ratio_of_concealed_samples) writer.write_duration_value("maxRoundTripTime", @max_round_trip_time) writer.write_string_value("@odata.type", @odata_type) writer.write_object_value("packetUtilization", @packet_utilization) writer.write_float_value("postForwardErrorCorrectionPacketLossRate", @post_forward_error_correction_packet_loss_rate) writer.write_duration_value("rmsFreezeDuration", @rms_freeze_duration) writer.write_date_time_value("startDateTime", @start_date_time) writer.write_enum_value("streamDirection", @stream_direction) writer.write_string_value("streamId", @stream_id) writer.write_enum_value("videoCodec", @video_codec) writer.write_boolean_value("wasMediaBypassed", @was_media_bypassed) writer.write_additional_data(@additional_data) end |
#start_date_time ⇒ Object
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
610 611 612 |
# File 'lib/models/call_records_media_stream.rb', line 610 def start_date_time return @start_date_time end |
#start_date_time=(value) ⇒ Object
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
618 619 620 |
# File 'lib/models/call_records_media_stream.rb', line 618 def start_date_time=(value) @start_date_time = value end |
#stream_direction ⇒ Object
Gets the streamDirection property value. The streamDirection property
625 626 627 |
# File 'lib/models/call_records_media_stream.rb', line 625 def stream_direction return @stream_direction end |
#stream_direction=(value) ⇒ Object
Sets the streamDirection property value. The streamDirection property
633 634 635 |
# File 'lib/models/call_records_media_stream.rb', line 633 def stream_direction=(value) @stream_direction = value end |
#stream_id ⇒ Object
Gets the streamId property value. Unique identifier for the stream.
640 641 642 |
# File 'lib/models/call_records_media_stream.rb', line 640 def stream_id return @stream_id end |
#stream_id=(value) ⇒ Object
Sets the streamId property value. Unique identifier for the stream.
648 649 650 |
# File 'lib/models/call_records_media_stream.rb', line 648 def stream_id=(value) @stream_id = value end |
#video_codec ⇒ Object
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.
655 656 657 |
# File 'lib/models/call_records_media_stream.rb', line 655 def video_codec return @video_codec end |
#video_codec=(value) ⇒ Object
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.
663 664 665 |
# File 'lib/models/call_records_media_stream.rb', line 663 def video_codec=(value) @video_codec = value end |
#was_media_bypassed ⇒ Object
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.
670 671 672 |
# File 'lib/models/call_records_media_stream.rb', line 670 def was_media_bypassed return @was_media_bypassed end |
#was_media_bypassed=(value) ⇒ Object
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.
678 679 680 |
# File 'lib/models/call_records_media_stream.rb', line 678 def was_media_bypassed=(value) @was_media_bypassed = value end |