Class: WebRTC::RTCTrackEvent
- Inherits:
-
Object
- Object
- WebRTC::RTCTrackEvent
- Defined in:
- lib/webrtc/parity_types.rb
Instance Attribute Summary collapse
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
-
#streams ⇒ Object
readonly
Returns the value of attribute streams.
-
#track ⇒ Object
readonly
Returns the value of attribute track.
-
#transceiver ⇒ Object
readonly
Returns the value of attribute transceiver.
Instance Method Summary collapse
-
#initialize(track:, receiver:, transceiver:, streams:) ⇒ RTCTrackEvent
constructor
A new instance of RTCTrackEvent.
Constructor Details
#initialize(track:, receiver:, transceiver:, streams:) ⇒ RTCTrackEvent
Returns a new instance of RTCTrackEvent.
233 234 235 236 237 238 |
# File 'lib/webrtc/parity_types.rb', line 233 def initialize(track:, receiver:, transceiver:, streams:) @track = track @receiver = receiver @transceiver = transceiver @streams = streams end |
Instance Attribute Details
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
231 232 233 |
# File 'lib/webrtc/parity_types.rb', line 231 def receiver @receiver end |
#streams ⇒ Object (readonly)
Returns the value of attribute streams.
231 232 233 |
# File 'lib/webrtc/parity_types.rb', line 231 def streams @streams end |
#track ⇒ Object (readonly)
Returns the value of attribute track.
231 232 233 |
# File 'lib/webrtc/parity_types.rb', line 231 def track @track end |
#transceiver ⇒ Object (readonly)
Returns the value of attribute transceiver.
231 232 233 |
# File 'lib/webrtc/parity_types.rb', line 231 def transceiver @transceiver end |