new P2PChannelRequest(localId, remoteId)
Parameters:
Name | Type | Description |
---|---|---|
localId |
string | |
remoteId |
string | id of the peer client |
Methods
-
getLocalId()
-
Returns:
the id of this current client
- Type
- string
-
getOffer()
-
Returns:
offer
-
getRemoteId()
-
Returns:
the id of the remote client peer
- Type
- string
-
isInitiator()
-
Returns:
true if the request comes from the initiator of the connection
- Type
- boolean
-
setOffer(offer)
-
Parameters:
Name Type Description offer
olympe.net.SignalingOperation