I want to implement a WebRTC peer connection. I do not know how to setup an ICE server or what tool should I use. Can anyone advice me on this. Thank you very much.
Asked
Active
Viewed 1,406 times
3
-
you could but why would you want to? Here is an [EC2 image](https://code.google.com/p/rfc5766-turn-server/source/browse/amazonlinuxami/turnserver-3.1.2.1-amazon-aws-ec2-x86_64.txt?spec=svn1019&r=1019) of the rfc5766 open Turn server. Works well and is already written. – Benjamin Trent May 23 '14 at 13:04
-
I want to process the stream for object detection using OpenCV. – Greatxam Darthart May 26 '14 at 02:15
-
In the turn server? The server does not decode the streams. That processing could be done peer side and nothing to do with the server – Benjamin Trent May 26 '14 at 03:27
-
If that's the case, what should I use to process the stream for object detection? – Greatxam Darthart May 26 '14 at 04:12
-
That is different question but you can still use opencv it will just have to be done on one of the peer sides – Benjamin Trent May 26 '14 at 13:18
-
I have implemented the procedures but the streaming is not real-time. Here is the source https://github.com/dakilasoft/twistedcv and I also include the live demo. – Greatxam Darthart May 28 '14 at 11:03
1 Answers
4
Actually you don't need to write your own STUN/TURN server
There are lots of ready solutions, especially this one is really good https://github.com/coturn/coturn/.
TURN is an extension of STUN, so TURN server supports all STUN operations as well
What you need is to install turn server on some server and put your WebRTC application to it