Class: MicrosoftGraph::Models::CallRecordsMediaStream

Inherits:
Object
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/call_records_media_stream.rb

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a call_records_media_stream

Raises:

  • (StandardError)


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_dataObject

Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

Returns:

  • a i_dictionary



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.

Parameters:

  • value

    Value to set for the additionalData property.

Returns:

  • a void



118
119
120
# File 'lib/models/call_records_media_stream.rb', line 118

def additional_data=(value)
    @additional_data = value
end

#audio_codecObject

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 call_records_audio_codec



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.

Parameters:

  • value

    Value to set for the audioCodec property.

Returns:

  • a void



133
134
135
# File 'lib/models/call_records_media_stream.rb', line 133

def audio_codec=(value)
    @audio_codec = value
end

#average_audio_degradationObject

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



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.

Parameters:

  • value

    Value to set for the averageAudioDegradation property.

Returns:

  • a void



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_jitterObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the averageAudioNetworkJitter property.

Returns:

  • a void



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_estimateObject

Gets the averageBandwidthEstimate property value. Average estimated bandwidth available between two endpoints in bits per second.

Returns:

  • a int64



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.

Parameters:

  • value

    Value to set for the averageBandwidthEstimate property.

Returns:

  • a void



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_durationObject

Gets the averageFreezeDuration property value. Average duration of the received freezing time in the video stream.

Returns:

  • a microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the averageFreezeDuration property.

Returns:

  • a void



193
194
195
# File 'lib/models/call_records_media_stream.rb', line 193

def average_freeze_duration=(value)
    @average_freeze_duration = value
end

#average_jitterObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the averageJitter property.

Returns:

  • a void



208
209
210
# File 'lib/models/call_records_media_stream.rb', line 208

def average_jitter=(value)
    @average_jitter = value
end

#average_packet_loss_rateObject

Gets the averagePacketLossRate property value. Average packet loss rate for stream.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the averagePacketLossRate property.

Returns:

  • a void



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_samplesObject

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



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.

Parameters:

  • value

    Value to set for the averageRatioOfConcealedSamples property.

Returns:

  • a void



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_rateObject

Gets the averageReceivedFrameRate property value. Average frames per second received for all video streams computed over the duration of the session.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the averageReceivedFrameRate property.

Returns:

  • a void



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_timeObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the averageRoundTripTime property.

Returns:

  • a void



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_percentageObject

Gets the averageVideoFrameLossPercentage property value. Average percentage of video frames lost as displayed to the user.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the averageVideoFrameLossPercentage property.

Returns:

  • a void



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_rateObject

Gets the averageVideoFrameRate property value. Average frames per second received for a video stream, computed over the duration of the session.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the averageVideoFrameRate property.

Returns:

  • a void



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_rateObject

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



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.

Parameters:

  • value

    Value to set for the averageVideoPacketLossRate property.

Returns:

  • a void



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_timeObject

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

Returns:

  • a date_time



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

Parameters:

  • value

    Value to set for the endDateTime property.

Returns:

  • a void



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_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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_usedObject

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



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.

Parameters:

  • value

    Value to set for the isAudioForwardErrorCorrectionUsed property.

Returns:

  • a void



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_ratioObject

Gets the lowFrameRateRatio property value. Fraction of the call where frame rate is less than 7.5 frames per second.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the lowFrameRateRatio property.

Returns:

  • a void



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_ratioObject

Gets the lowVideoProcessingCapabilityRatio property value. Fraction of the call that the client is running less than 70% expected video processing capability.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the lowVideoProcessingCapabilityRatio property.

Returns:

  • a void



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_jitterObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the maxAudioNetworkJitter property.

Returns:

  • a void



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_jitterObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the maxJitter property.

Returns:

  • a void



458
459
460
# File 'lib/models/call_records_media_stream.rb', line 458

def max_jitter=(value)
    @max_jitter = value
end

#max_packet_loss_rateObject

Gets the maxPacketLossRate property value. Maximum packet loss rate for the stream.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the maxPacketLossRate property.

Returns:

  • a void



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_samplesObject

Gets the maxRatioOfConcealedSamples property value. Maximum ratio of packets concealed by the healer.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the maxRatioOfConcealedSamples property.

Returns:

  • a void



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_timeObject

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 microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the maxRoundTripTime property.

Returns:

  • a void



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_typeObject

Gets the @odata.type property value. The OdataType property

Returns:

  • a string



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

Parameters:

  • value

    Value to set for the @odata.type property.

Returns:

  • a void



518
519
520
# File 'lib/models/call_records_media_stream.rb', line 518

def odata_type=(value)
    @odata_type = value
end

#packet_utilizationObject

Gets the packetUtilization property value. Packet count for the stream.

Returns:

  • a int64



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.

Parameters:

  • value

    Value to set for the packetUtilization property.

Returns:

  • a void



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_rateObject

Gets the postForwardErrorCorrectionPacketLossRate property value. Packet loss rate after FEC has been applied aggregated across all video streams and codecs.

Returns:

  • a float



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.

Parameters:

  • value

    Value to set for the postForwardErrorCorrectionPacketLossRate property.

Returns:

  • a void



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_durationObject

Gets the rmsFreezeDuration property value. Average duration of the received freezing time in the video stream represented in root mean square.

Returns:

  • a microsoft_kiota_abstractions::_i_s_o_duration



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.

Parameters:

  • value

    Value to set for the rmsFreezeDuration property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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_timeObject

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

Returns:

  • a date_time



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

Parameters:

  • value

    Value to set for the startDateTime property.

Returns:

  • a void



618
619
620
# File 'lib/models/call_records_media_stream.rb', line 618

def start_date_time=(value)
    @start_date_time = value
end

#stream_directionObject

Gets the streamDirection property value. The streamDirection property

Returns:

  • a call_records_media_stream_direction



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

Parameters:

  • value

    Value to set for the streamDirection property.

Returns:

  • a void



633
634
635
# File 'lib/models/call_records_media_stream.rb', line 633

def stream_direction=(value)
    @stream_direction = value
end

#stream_idObject

Gets the streamId property value. Unique identifier for the stream.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the streamId property.

Returns:

  • a void



648
649
650
# File 'lib/models/call_records_media_stream.rb', line 648

def stream_id=(value)
    @stream_id = value
end

#video_codecObject

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 call_records_video_codec



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.

Parameters:

  • value

    Value to set for the videoCodec property.

Returns:

  • a void



663
664
665
# File 'lib/models/call_records_media_stream.rb', line 663

def video_codec=(value)
    @video_codec = value
end

#was_media_bypassedObject

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



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.

Parameters:

  • value

    Value to set for the wasMediaBypassed property.

Returns:

  • a void



678
679
680
# File 'lib/models/call_records_media_stream.rb', line 678

def was_media_bypassed=(value)
    @was_media_bypassed = value
end