ApiCoreInterfaces
Interface: MeshConfig
Defined in: packages/core/src/network/mesh.ts:51
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
authTimeoutMs? | readonly | number | How long a peer has to prove itself in a room. Default 10 s. | packages/core/src/network/mesh.ts:66 |
createTransport? | readonly | (iceServers) => SignalledTransport | How connections are made, given the ICE servers each should use. WebRTC on this thread by default; a node in a worker uses the page's (remoteTransport). | packages/core/src/network/mesh.ts:64 |
did | readonly | string | - | packages/core/src/network/mesh.ts:52 |
iceServers? | readonly | readonly RTCIceServer[] | - | packages/core/src/network/mesh.ts:57 |
introductions? | readonly | boolean | Let connected peers introduce the peers they know, so a relay is needed only for the first. On by default. | packages/core/src/network/mesh.ts:59 |
key | readonly | CryptoKey | The private half of the key did names: it signs what this node says in a room | packages/core/src/network/mesh.ts:54 |
relays | readonly | readonly string[] | Relays of any kind, used all at once (rendezvous.ts) | packages/core/src/network/mesh.ts:56 |