WebRTC Conference

Version 10 (Dan Pascu, 07/07/2017 01:03 pm)

1 3 Adrian Georgescu
h1. SylkServer WebRTC Managed Conference
2 2 Adrian Georgescu
3 4 Adrian Georgescu
4 2 Adrian Georgescu
h2. Design
5 2 Adrian Georgescu
6 2 Adrian Georgescu
h2. Features
7 2 Adrian Georgescu
8 8 Dan Pascu
 * Ad-hoc conference: all participants are rendered in a matrix where each participants has the same size. The conference room has a fixed total bandwidth set by the server, which is divided between the participants, which means the more participants are in the room, the less bandwidth each participant will use keeping the bandwidth usage per conference room constant.
9 7 Adrian Georgescu
10 7 Adrian Georgescu
11 2 Adrian Georgescu
h2. Configuration
12 2 Adrian Georgescu
13 10 Dan Pascu
Sylkserver allows the maximum bitrate and video codec to be configured, globally or per room with the following settings in webrtcgateway.ini file:
14 10 Dan Pascu
15 10 Dan Pascu
<pre>
16 10 Dan Pascu
; Maximum video bitrate allowed per sender in a room in bits/s. This value is
17 10 Dan Pascu
; applied to any room that doesn't define its own. The value is any integer
18 10 Dan Pascu
; number between 64000 and 4194304. Default value is 2016000 (~2Mb/s).
19 10 Dan Pascu
; max_bitrate = 2016000
20 10 Dan Pascu
21 10 Dan Pascu
; The video codec to be used by all participants in a room. This value is
22 10 Dan Pascu
; applied to any room that doesn't define its own.
23 10 Dan Pascu
; Possible values are: h264, vp8 and vp9. Default is vp9.
24 10 Dan Pascu
; video_codec = vp9
25 10 Dan Pascu
26 10 Dan Pascu
</pre>
27 10 Dan Pascu
28 10 Dan Pascu
29 1 Adrian Georgescu
h2. Client support
30 1 Adrian Georgescu
31 1 Adrian Georgescu
h2. Measurements
32 1 Adrian Georgescu
33 10 Dan Pascu
This measurement was done on a Macbook Pro 15" with a 2.3GHz Intel Core I7 CPU, while having 7 participants in the room with each using 336Kb/s. The measurement shows the CPU usage in Firefox with the aforementioned conditions, for the specified video codecs and resolutions which are used by all participants:
34 1 Adrian Georgescu
35 10 Dan Pascu
<pre>
36 10 Dan Pascu
 * H264/VGA - 150% CPU
37 10 Dan Pascu
 * H264/HD  - 250% CPU
38 10 Dan Pascu
 * VP9/VGA  - 220% CPU
39 10 Dan Pascu
 * VP9/HD   - 350% CPU
40 10 Dan Pascu
</pre>
41 6 Adrian Georgescu
42 6 Adrian Georgescu
43 6 Adrian Georgescu
h2. Remaining tasks
44 6 Adrian Georgescu
45 6 Adrian Georgescu
 * sylkserver: control interface for moderator
46 1 Adrian Georgescu
 * janus: patch to request full frames when a paused video is resumed