Hi,
I have configured two TURN servers (rfc5766-turn-server) with 6 ports open in each to make an application which is based on WebRTC. The clients can be Chrome or Firefox.
The testing of WebRTC calls across different versions of Firefox leads me to the following findings.
(Lets name the TURN servers TurnA and TurnB)
1. For a single WebRTC call, both TURN servers are allocating ports on it. i.e., TurnA allocating 2 ports and TurnB allocating 2 ports. Even if the call is happening though TurnA, the TurnB reserving the ports already allocated and which will release only when the call terminates.
2. The number of ports allocating in different versions of Firefox is different.
Browser | No of sessions/ports used on one TURN server
===================================================
Firefox 31 | 6
------------------------------------------------------------------------------------------
Firefox 37 | 3
------------------------------------------------------------------------------------------
Firefox 38 | 3
------------------------------------------------------------------------------------------
Firefox 39 | 1
------------------------------------------------------------------------------------------
Chrome | 1
------------------------------------------------------------------------------------------
Why this is happening?
How can I prevent the wastage of ports since its allocating ports which is not using for the actual call.
How can I increase the number of concurrent calls?
Thanks
Remya