Class: WebRTC::RTCRtpCodecParameters
- Inherits:
-
Object
- Object
- WebRTC::RTCRtpCodecParameters
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#channels ⇒ Object
Returns the value of attribute channels.
-
#clock_rate ⇒ Object
Returns the value of attribute clock_rate.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
-
#payload_type ⇒ Object
Returns the value of attribute payload_type.
-
#sdp_fmtp_line ⇒ Object
Returns the value of attribute sdp_fmtp_line.
Instance Method Summary collapse
-
#initialize(payload_type:, mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil) ⇒ RTCRtpCodecParameters
constructor
A new instance of RTCRtpCodecParameters.
Constructor Details
#initialize(payload_type:, mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil) ⇒ RTCRtpCodecParameters
Returns a new instance of RTCRtpCodecParameters.
282 283 284 285 286 287 288 |
# File 'lib/webrtc/parity_types.rb', line 282 def initialize(payload_type:, mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil) @payload_type = payload_type @mime_type = mime_type @clock_rate = clock_rate @channels = channels @sdp_fmtp_line = sdp_fmtp_line end |
Instance Attribute Details
#channels ⇒ Object
Returns the value of attribute channels.
280 281 282 |
# File 'lib/webrtc/parity_types.rb', line 280 def channels @channels end |
#clock_rate ⇒ Object
Returns the value of attribute clock_rate.
280 281 282 |
# File 'lib/webrtc/parity_types.rb', line 280 def clock_rate @clock_rate end |
#mime_type ⇒ Object
Returns the value of attribute mime_type.
280 281 282 |
# File 'lib/webrtc/parity_types.rb', line 280 def mime_type @mime_type end |
#payload_type ⇒ Object
Returns the value of attribute payload_type.
280 281 282 |
# File 'lib/webrtc/parity_types.rb', line 280 def payload_type @payload_type end |
#sdp_fmtp_line ⇒ Object
Returns the value of attribute sdp_fmtp_line.
280 281 282 |
# File 'lib/webrtc/parity_types.rb', line 280 def sdp_fmtp_line @sdp_fmtp_line end |