Class: WebRTC::RTCRtpSendParameters
- Inherits:
-
Object
- Object
- WebRTC::RTCRtpSendParameters
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#codecs ⇒ Object
Returns the value of attribute codecs.
-
#encodings ⇒ Object
Returns the value of attribute encodings.
-
#header_extensions ⇒ Object
Returns the value of attribute header_extensions.
-
#rtcp ⇒ Object
Returns the value of attribute rtcp.
-
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
Instance Method Summary collapse
-
#initialize(transaction_id: '', encodings: [], header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) ⇒ RTCRtpSendParameters
constructor
A new instance of RTCRtpSendParameters.
Constructor Details
#initialize(transaction_id: '', encodings: [], header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) ⇒ RTCRtpSendParameters
Returns a new instance of RTCRtpSendParameters.
325 326 327 328 329 330 331 |
# File 'lib/webrtc/parity_types.rb', line 325 def initialize(transaction_id: '', encodings: [], header_extensions: [], rtcp: RTCRtcpParameters.new, codecs: []) @transaction_id = transaction_id @encodings = encodings @header_extensions = header_extensions @rtcp = rtcp @codecs = codecs end |
Instance Attribute Details
#codecs ⇒ Object
Returns the value of attribute codecs.
323 324 325 |
# File 'lib/webrtc/parity_types.rb', line 323 def codecs @codecs end |
#encodings ⇒ Object
Returns the value of attribute encodings.
323 324 325 |
# File 'lib/webrtc/parity_types.rb', line 323 def encodings @encodings end |
#header_extensions ⇒ Object
Returns the value of attribute header_extensions.
323 324 325 |
# File 'lib/webrtc/parity_types.rb', line 323 def header_extensions @header_extensions end |
#rtcp ⇒ Object
Returns the value of attribute rtcp.
323 324 325 |
# File 'lib/webrtc/parity_types.rb', line 323 def rtcp @rtcp end |
#transaction_id ⇒ Object
Returns the value of attribute transaction_id.
323 324 325 |
# File 'lib/webrtc/parity_types.rb', line 323 def transaction_id @transaction_id end |