Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TURN-REST subproject does not conform to specifications #172

Open
ehfd opened this issue Jan 16, 2025 · 0 comments
Open

TURN-REST subproject does not conform to specifications #172

ehfd opened this issue Jan 16, 2025 · 0 comments
Labels
bug Something isn't working transport Underlying media or data transport protocols web Web components including gst-web

Comments

@ehfd
Copy link
Member

ehfd commented Jan 16, 2025

According to draft-uberti-behave-turn-rest-00, the adequate output for the TURN REST API server is like the following:

 {
   "username" : "12334939:mbzrxpgjys",
   "password" : "adfsaflsjfldssia",
   "ttl" : 86400,
   "uris" : [
     "turn:1.2.3.4:9991?transport=udp",
     "turn:1.2.3.4:9992?transport=tcp",
     "turns:1.2.3.4:443?transport=tcp"
   ]
}

The current implementation, instead, provides the full TURN configuration while encapsulating the ideal output underneath iceServers: [], making our implementation incompatible with other applications.
I believe that (1) the TURN-REST subproject should conform to specifications, and (2) the rest (/turn endpoint, WebRTC interface for __main__.py etc.) of the stack should stay as-is, but allow the flexibility of the Python application to parse the TURN REST API script by identifying the existence of the key iceservers: directly underneath the JSON output.

@ehfd ehfd added bug Something isn't working transport Underlying media or data transport protocols web Web components including gst-web labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working transport Underlying media or data transport protocols web Web components including gst-web
Projects
None yet
Development

No branches or pull requests

1 participant