UNPKG

spacesvr-websessions

Version:

A standardized reality for future of the 3D Web

6 lines (5 loc) 317 B
import { DataConnection, Peer, MediaConnection } from "peerjs"; export declare const useVoiceConnections: (enabled: boolean, peer: Peer | undefined, connections: Map<string, DataConnection>, inputDeviceId?: string) => { mediaConnections: Map<string, MediaConnection>; localStream: MediaStream | undefined; };