...
Code Block | ||||
---|---|---|---|---|
| ||||
session.createStream({ name: streamName, display: localVideo, cacheLocalResources: true, receiveVideo: false, receiveAudio: false, transport: "UDP" }).on(STREAM_STATUS.PUBLISHING, function (stream) { ... }),.publish(); |
or playing (via TCP for example)
...
Solution: disable any additional network interfaces except this one used to access WSC server.
2. WebRTC video cannot be played for all subscribers if one of the subscribers has a channel problems
Symptoms: video cannot be played for all subscribers if one of the subscribers has a channel problems
Solution: enable non-blocking IO with the following parameter
Code Block | ||
---|---|---|
| ||
ice_tcp_nio=true |
3. WebRTC over TCP requires more RAM comparing with UDP when non-blocking IO is used
Symptoms: with increasing traffic on the server, the RAM iconsumption ncreases sharply, up to the server shutdown
Solution: add more RAM to the server according to the following recommendations
- 64 Gb RAM for 500 Мbps of traffic
- 128 Gb RAM for 1 Gbps of traffic