https://github.com/jitsi/jxs
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jitsi/jxs
- Owner: jitsi
- Created: 2020-05-14T14:27:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-31T00:16:38.000Z (over 1 year ago)
- Last Synced: 2025-06-16T23:02:12.189Z (7 months ago)
- Language: JavaScript
- Size: 263 KB
- Stars: 6
- Watchers: 9
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jxs
## Building
```
npm install
npm run build
```
You can find the build in `dist/`. There's only one bundled file there - `main.js`.
## Runnning
```
npm start [number_of_conferences] [number_of_participants_per_conference]
```
or
```
node dist/main.js [number_of_conferences] [number_of_participants_per_conference]
```
### Configuration
You must specify the path to a configuration file in JSON format as the first command line argument. We read the following properties from there:
-- `domain` - required, the domain of the xmpp server.
-- `service` - optional, the websocket XMPP endpoint. Defaults to `wss://${domain}/xmpp-websocket`.
-- `roomPrefix` - optional, the prefix for the names of the rooms to join. Defaults to `jxs-test-${random}`
-- `numberOfRooms` - optional, number of rooms to join. Defaults to 1, can be overriden by a command line argument.
-- `numberOfParticipants` - optional, the number of participants in each room. Defaults to 1, can be overriden by a command line argument.
-- `delay` - optional, the number of milliseconds to wait between participants in a room (independent for each room). Defaults to 0.
-- `enableDebug` - optional, enable debug logging. Defaults to false.
-- `enableXmppLog` - optional, enables logging XMPP traffic. Defaults to false.
-- `conferenceRequestTarget` - optional, the target to send conference-request to. If this starts with 'http://' or 'https://' the conference request is sent over HTTP (prior to logging in to XMPP). Otherwise, it's sent over XMPP. Defaults to `focus.${domain}` (XMPP).
-- `duration` - optional, number of second to wait before timing out. Defaults to no automatic timeout.
Note that command line arguments override the values in the config file.