Variable PEER_CONFIGConst
PEER_CONFIG: {
config: {
iceServers: (
| { credential?: undefined; urls: string; username?: undefined }
| { credential: string; urls: string; username: string }
)[];
};
debug: number;
host: string;
path: string;
port: number;
secure: boolean;
} = ...
Type Declaration
config: {
iceServers: (
| { credential?: undefined; urls: string; username?: undefined }
| { credential: string; urls: string; username: string }
)[];
}
debug: number
host: string
path: string
port: number
secure: boolean
PeerJS connection configuration shared by host and client. Update these values to point to your own PeerJS signalling, STUN, and TURN servers.