Skip to content

lightgun-poc / lib/rtc / RtcHubDeps

Interface: RtcHubDeps ​

Defined in: lib/rtc.ts:41

Properties ​

createPeer? ​

optional createPeer?: () => PeerLike

Defined in: lib/rtc.ts:43

Replaces real werift in tests.

Returns ​

PeerLike


gatherTimeoutMs? ​

optional gatherTimeoutMs?: number

Defined in: lib/rtc.ts:46

Cap on waiting for ICE gathering to complete before answering.


log? ​

optional log?: (line) => void

Defined in: lib/rtc.ts:44

Parameters ​

line ​

string

Returns ​

void

Released under the MIT License.