Failed to construct 'RTCPeerConnection': Cannot create so many PeerConnections in erizo.js


#1

I am very new in webrtc and Licode is my first interaction with webrtc. We are trying to set an audio conference in PPT way, users have to press Ctrl+L to talk and again press Ctrl+L to mute.

Everything works fine when we have around 15 users. We start getting disconnection problem after 20 users and get worse as user count increases and I have no clue why this is happening.

Whenever new user join the conference, other users start getting disconnect with error messages

  • Failed to construct ‘RTCPeerConnection’: Cannot create so many PeerConnections in erizo.js Line: 405
  • Uncaught TypeError: Cannot read property ‘sendSDP’ of undefined in erizo.js Line: 122
  • Error subscribing to stream ErizoJS is not reachable. After this mic red dot starts blinking and local stream get undefined.

They appear random in the console.

Sorry if this is incomplete information, Let me know what else I should post, code or config file to help.