Class: WebRTC::RTCIceCandidatePair
- Inherits:
-
Object
- Object
- WebRTC::RTCIceCandidatePair
- Defined in:
- lib/webrtc/ice_transport.rb
Instance Attribute Summary collapse
-
#local ⇒ Object
readonly
Returns the value of attribute local.
-
#remote ⇒ Object
readonly
Returns the value of attribute remote.
Instance Method Summary collapse
-
#initialize(local:, remote:) ⇒ RTCIceCandidatePair
constructor
A new instance of RTCIceCandidatePair.
Constructor Details
#initialize(local:, remote:) ⇒ RTCIceCandidatePair
Returns a new instance of RTCIceCandidatePair.
74 75 76 77 |
# File 'lib/webrtc/ice_transport.rb', line 74 def initialize(local:, remote:) @local = local @remote = remote end |
Instance Attribute Details
#local ⇒ Object (readonly)
Returns the value of attribute local.
72 73 74 |
# File 'lib/webrtc/ice_transport.rb', line 72 def local @local end |
#remote ⇒ Object (readonly)
Returns the value of attribute remote.
72 73 74 |
# File 'lib/webrtc/ice_transport.rb', line 72 def remote @remote end |