blob: 28729cf3f95b11241e0c6f682a8cb298dd7b07cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# keks-meet
a web conferencing application
## Features
- Rooms
- Different stream types
- Camera
- Microphone
- Screen capture
- Multiple streams
## Todo-List
- Chat
- Optionally enable video streams
- Settings menu
- Native client
## Parameters
For configuration add options in section of URL in a style that is common for query parameters (e.g. `/room/asdfg#username=bob`).
Note that the page wont automatically reload if the section changes.
Booleans can be either `1`, `true`, `yes` or their opposites.
| Option name | Type | Default | Description |
| ---------------- | ------- | ------- | ---------------------------------------- |
| `username` | string | "guest" | Sets the username |
| `rnnoise` | boolean | true | Enables noise suppression with rnnoise |
| `mic_enabled` | boolean | false | Adds audio track on startup |
| `camera_enabled` | boolean | false | Adds camera track on startup |
| `screen_enabled` | boolean | false | Adds screen track on startup (wont work) |
| `mic_gain` | number | 1 | Sets the microphone volume |
## Protocol
The protocol packets are defined in [packets.d.ts](./common/packets.d.ts). Here is an (simplified) example of how the protocol is used.
```
S->C { init: { your_id: 5, version: "..." } }
---- # Your join packet will be the first one.
S->C { client_join: { id: 5, name: "bob" } }
S->C { client_join: { id: 3, name: "alice" } }
---- # Now publish your ICE candidates
C->S { relay: { message: { ice_candiate: <RTCIceCandidateInit> } } }
---- # Whenever you change your streams change:
---- # Send an offer to everybody
C->S { relay: { recipient: 3, offer: <RTCSessionDescriptionInit> } }
---- # Alice answers
S->C { message: { sender: 3, message: { offer: <RTCSessionDescriptionInit> } } }
---- # In case the server uses a reverse-proxy that disconnects inactive connections: Ping every 30s
C->S { ping: null }
```
## Licence
See `LICENCE` file.
|