Reputation: 21
I installed and configured a COTURN server in an EC2 instance. Then, I did some preliminary tests to check its operation using Trickle ICE. Everything works fine. Now I want to establish a communication between peers without using WebRTC, using only WebSockets. I don't know how to do that, all the tutorials I found use WebRTC.
I would appreciate if you could point me in the right direction and give me some advice on how to use the COTURN server with WebSockets in NodeJS.
Upvotes: 1
Views: 439
Reputation: 1008
In relation to the comments thread in the question, I think the best answer is that the TURN service (provided by coturn
) and the signalling service (implemented over WebSocket) are two separate things.
A WebRTC application can use TURN for discovering its relay
candidates, and share them with another party over any signalling system, including something built with WebSockets.
Time ago a proposal was made to use WebSocket as a transport for TURN, but it didn't become a standard and it's not supported by coturn
(or any other TURN service I know).
Upvotes: 1