Class: WebRTC::RTCRtcpFeedback

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type:, parameter: nil) ⇒ RTCRtcpFeedback

Returns a new instance of RTCRtcpFeedback.



252
253
254
255
# File 'lib/webrtc/parity_types.rb', line 252

def initialize(type:, parameter: nil)
  @type = type
  @parameter = parameter
end

Instance Attribute Details

#parameterObject (readonly)

Returns the value of attribute parameter.



250
251
252
# File 'lib/webrtc/parity_types.rb', line 250

def parameter
  @parameter
end

#typeObject (readonly)

Returns the value of attribute type.



250
251
252
# File 'lib/webrtc/parity_types.rb', line 250

def type
  @type
end