Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Adding Listener takes 2 seconds

The method that takes almost 2 sec here is: 

Every broadcast is refreshed - immediately 

...

=> What is that good for to restart every single stream by default immediately again ?

onIceCandidate is called 1600 times

During this initialisation for ~50 streams StreamProcessor::onMessage(onIceCandidate) is called 1600 times.

Image Added

=> Is it really necessary to package all those WebSocket calls up in this onIceCandidate ? Can't there be another way for the client to get possible iceCandidates ?

Tomcat threads are better used

...