Class: WebRTC::RTCIceCandidatePair

Inherits:
Object
  • Object
show all
Defined in:
lib/webrtc/ice_transport.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#localObject (readonly)

Returns the value of attribute local.



72
73
74
# File 'lib/webrtc/ice_transport.rb', line 72

def local
  @local
end

#remoteObject (readonly)

Returns the value of attribute remote.



72
73
74
# File 'lib/webrtc/ice_transport.rb', line 72

def remote
  @remote
end