Class: WebRTC::RTCRtpCodecCapability
- Inherits:
-
Object
- Object
- WebRTC::RTCRtpCodecCapability
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#channels ⇒ Object
readonly
Returns the value of attribute channels.
-
#clock_rate ⇒ Object
readonly
Returns the value of attribute clock_rate.
-
#mime_type ⇒ Object
readonly
Returns the value of attribute mime_type.
-
#rtcp_feedback ⇒ Object
readonly
Returns the value of attribute rtcp_feedback.
-
#sdp_fmtp_line ⇒ Object
readonly
Returns the value of attribute sdp_fmtp_line.
Instance Method Summary collapse
-
#initialize(mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil, rtcp_feedback: []) ⇒ RTCRtpCodecCapability
constructor
A new instance of RTCRtpCodecCapability.
Constructor Details
#initialize(mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil, rtcp_feedback: []) ⇒ RTCRtpCodecCapability
Returns a new instance of RTCRtpCodecCapability.
261 262 263 264 265 266 267 |
# File 'lib/webrtc/parity_types.rb', line 261 def initialize(mime_type:, clock_rate:, channels: nil, sdp_fmtp_line: nil, rtcp_feedback: []) @mime_type = mime_type @clock_rate = clock_rate @channels = channels @sdp_fmtp_line = sdp_fmtp_line @rtcp_feedback = rtcp_feedback end |
Instance Attribute Details
#channels ⇒ Object (readonly)
Returns the value of attribute channels.
259 260 261 |
# File 'lib/webrtc/parity_types.rb', line 259 def channels @channels end |
#clock_rate ⇒ Object (readonly)
Returns the value of attribute clock_rate.
259 260 261 |
# File 'lib/webrtc/parity_types.rb', line 259 def clock_rate @clock_rate end |
#mime_type ⇒ Object (readonly)
Returns the value of attribute mime_type.
259 260 261 |
# File 'lib/webrtc/parity_types.rb', line 259 def mime_type @mime_type end |
#rtcp_feedback ⇒ Object (readonly)
Returns the value of attribute rtcp_feedback.
259 260 261 |
# File 'lib/webrtc/parity_types.rb', line 259 def rtcp_feedback @rtcp_feedback end |
#sdp_fmtp_line ⇒ Object (readonly)
Returns the value of attribute sdp_fmtp_line.
259 260 261 |
# File 'lib/webrtc/parity_types.rb', line 259 def sdp_fmtp_line @sdp_fmtp_line end |