Class: WebRTC::RTCRtpEncodingParameters

Inherits:
Object
  • Object
show all
Defined in:
lib/webrtc/parity_types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ssrc: nil, rid: nil, active: true, max_bitrate: nil, scale_resolution_down_by: nil) ⇒ RTCRtpEncodingParameters

Returns a new instance of RTCRtpEncodingParameters.



294
295
296
297
298
299
300
# File 'lib/webrtc/parity_types.rb', line 294

def initialize(ssrc: nil, rid: nil, active: true, max_bitrate: nil, scale_resolution_down_by: nil)
  @ssrc = ssrc
  @rid = rid
  @active = active
  @max_bitrate = max_bitrate
  @scale_resolution_down_by = scale_resolution_down_by
end

Instance Attribute Details

#activeObject

Returns the value of attribute active.



292
293
294
# File 'lib/webrtc/parity_types.rb', line 292

def active
  @active
end

#max_bitrateObject

Returns the value of attribute max_bitrate.



292
293
294
# File 'lib/webrtc/parity_types.rb', line 292

def max_bitrate
  @max_bitrate
end

#ridObject

Returns the value of attribute rid.



292
293
294
# File 'lib/webrtc/parity_types.rb', line 292

def rid
  @rid
end

#scale_resolution_down_byObject

Returns the value of attribute scale_resolution_down_by.



292
293
294
# File 'lib/webrtc/parity_types.rb', line 292

def scale_resolution_down_by
  @scale_resolution_down_by
end

#ssrcObject

Returns the value of attribute ssrc.



292
293
294
# File 'lib/webrtc/parity_types.rb', line 292

def ssrc
  @ssrc
end