项目作者: mat-sz

项目描述 :
📞 Quick WebRTC calls - WebSockets server (TypeScript).
高级语言: TypeScript
项目地址: git://github.com/mat-sz/jumpcall-ws.git
创建时间: 2020-06-12T16:24:04Z
项目社区:https://github.com/mat-sz/jumpcall-ws

开源协议:BSD 3-Clause Clear License

下载


jumpcall-ws

WebSockets server for jumpcall-web.

More details about the project are available in the jumpcall-web repository.

Installation

Run yarn install, yarn build and then simply run yarn start. For development you can also run jumpcall-ws with live reload, yarn dev.

Configuration

dotenv-flow is used to manage the configuration.

The following variables are used for the configuration:

Variable Default value Description
WS_HOST 127.0.0.1 IP address to bind to.
WS_PORT 5000 Port to bind to.
STUN_SERVER stun:stun.1.google.com:19302 STUN server address.
TURN_MODE default default for static credentials, hmac for time-limited credentials.
TURN_SERVER null TURN server address.
TURN_USERNAME null TURN username.
TURN_CREDENTIAL null TURN credential (password).
TURN_SECRET null TURN secret (required for hmac).
TURN_EXPIRY 3600 TURN token expiration time (when in hmac mode), in seconds.