Class: WebRTC::RTCRtpReceiveParameters
- Inherits:
-
Object
- Object
- WebRTC::RTCRtpReceiveParameters
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#codecs ⇒ Object
Returns the value of attribute codecs.
-
#header_extensions ⇒ Object
Returns the value of attribute header_extensions.
-
#rtcp ⇒ Object
Returns the value of attribute rtcp.
Instance Method Summary collapse
-
#initialize(header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) ⇒ RTCRtpReceiveParameters
constructor
A new instance of RTCRtpReceiveParameters.
Constructor Details
#initialize(header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) ⇒ RTCRtpReceiveParameters
Returns a new instance of RTCRtpReceiveParameters.
337 338 339 340 341 |
# File 'lib/webrtc/parity_types.rb', line 337 def initialize(header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) @header_extensions = header_extensions @rtcp = rtcp @codecs = codecs end |
Instance Attribute Details
#codecs ⇒ Object
Returns the value of attribute codecs.
335 336 337 |
# File 'lib/webrtc/parity_types.rb', line 335 def codecs @codecs end |
#header_extensions ⇒ Object
Returns the value of attribute header_extensions.
335 336 337 |
# File 'lib/webrtc/parity_types.rb', line 335 def header_extensions @header_extensions end |
#rtcp ⇒ Object
Returns the value of attribute rtcp.
335 336 337 |
# File 'lib/webrtc/parity_types.rb', line 335 def rtcp @rtcp end |