hbprotoss / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

The Turn server is NOT compatible with the using of P2P application such as IP Camera. #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the Turn server on Fedora 19.
2. Modify the turnserver.conf for my IP Camera.
3. Set the Turn Server IP and Port to IP Camera.

What is the expected output? What do you see instead?
1. When IP Camera send "Create Permission", get 443 error.

What version of the product are you using? On what operating system?
Version:3.1.2.2 on Fedora 19

Please provide any additional information below.
1. For my application, the IP Camera can NOT know its peers IP address when do 
"Create Permission". Because everyone can access the IP Camera.
2. I try modify the source code, comment some codes about return 443 error. 
Remake and reinstall it. It's OK, the IP Camera can get server return the relay 
transport address. But when I use VLC to play the IP Camera RTSP address via 
relay truansport address, the server return "Peer has no permission" error 
message.
3. Could you give me some suggestion about how to modify the source code for my 
Applicaton. Thanks a lot.

Original issue reported on code.google.com by mars....@gmail.com on 22 Dec 2013 at 3:49

GoogleCodeExporter commented 8 years ago
This is not a bug or defect. The TURN server specs REQUIRE that the 
communicating parties know their exact IP addresses and install the 
permissions. What you want violates the RFCs. But you can use the non-standard 
option --server-relay - with this option, you do not have to send 
CreatePermission requests. Try that option and DO NOT send the CreatePermission.

Original comment by mom040...@gmail.com on 22 Dec 2013 at 4:22