Class: WebRTC::RTCRtpEncodingParameters
- Inherits:
-
Object
- Object
- WebRTC::RTCRtpEncodingParameters
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#max_bitrate ⇒ Object
Returns the value of attribute max_bitrate.
-
#rid ⇒ Object
Returns the value of attribute rid.
-
#scale_resolution_down_by ⇒ Object
Returns the value of attribute scale_resolution_down_by.
-
#ssrc ⇒ Object
Returns the value of attribute ssrc.
Instance Method Summary collapse
-
#initialize(ssrc: nil, rid: nil, active: true, max_bitrate: nil, scale_resolution_down_by: nil) ⇒ RTCRtpEncodingParameters
constructor
A new instance of RTCRtpEncodingParameters.
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
#active ⇒ Object
Returns the value of attribute active.
292 293 294 |
# File 'lib/webrtc/parity_types.rb', line 292 def active @active end |
#max_bitrate ⇒ Object
Returns the value of attribute max_bitrate.
292 293 294 |
# File 'lib/webrtc/parity_types.rb', line 292 def max_bitrate @max_bitrate end |
#rid ⇒ Object
Returns the value of attribute rid.
292 293 294 |
# File 'lib/webrtc/parity_types.rb', line 292 def rid @rid end |
#scale_resolution_down_by ⇒ Object
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 |
#ssrc ⇒ Object
Returns the value of attribute ssrc.
292 293 294 |
# File 'lib/webrtc/parity_types.rb', line 292 def ssrc @ssrc end |