-
Notifications
You must be signed in to change notification settings - Fork 420
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
Adding TURN creds #77
Comments
Hi @deepch , I'm using the pion/turn. Do you have any idea how to implement this? I can observe that we need to change the ICE Server struct, right? |
Hi both, I now think a turn server will only make sense if the server code can be separated from the "peer" code (which is reading the rtsp stream), so those two functions (server and peer) can run on different machines. Otherwise stun is enough since a server will always be reachable by any browser clients by default. Am I right in this assumption? My use case is an IP cam on a LAN with an edge device (think raspberry pi) on a LAN that cannot be accessed from the internet and no port forwarding is available since it is over a cellular network. I'd need the rtsp code/webRTC peer on the edge and the server code on the internet. |
@deepch I can put up a PR shortly. Done. |
Ability to define TURN server credentials (#77)
Thank you! Can you confirm if it is possible to run the server code on a separate machine from the RTSP/peer code? The machine having access to the RTSP stream is not exposed to the internet. |
* Update README.md Changed "go run *.go" to "go run ." per stackoverflow.com/q/23695448 * pcm audio support * license add * readme update * ffffff * fix work safari and firefox * update run / build instructions could not build or run without enabling go modules * fix err * pion v3 test * rtspv2 upgrade * rtspv2 upgrade * add audio support pcm * fix missing mod sum * opus work in progress * opus codec worked * combined video and audio, add option ice_servers, on_demand * fix typo deepch#44 * fix absolute patch * fix ... typo * Update README.md * add header * add more options debug, disable_audio * add more options debug, disable_audio * test bad sps pps * fix bug * Add support config from console * Add support instant url handle * Support optional web folder * Add build.bat * Fix default ICE servers * Fix check web folder exists * Add darwin and i386 archs * Update gitignore * fix cors fix cors with chrome default option Referrer-Policy: strict-origin-when-cross-origin See [go-gin-framework-cors](https://stackoverflow.com/questions/29418478/go-gin-framework-cors) * Ability to define TURN server credentials (deepch#77) * Update app.js * Fix OnDemand stream exit * mod update * Update command line parsing * Return RTSP errors to the client * ping pong remove * Fix darwin build command Co-authored-by: John P <[email protected]> Co-authored-by: Andrey Semochkin <[email protected]> Co-authored-by: Andrey Semochkin <[email protected]> Co-authored-by: osos <[email protected]> Co-authored-by: Andrey Semochkin <[email protected]> Co-authored-by: Devirex <[email protected]> Co-authored-by: vdalex25 <[email protected]> Co-authored-by: Alexey Khit <[email protected]> Co-authored-by: FourLeafTec <[email protected]> Co-authored-by: Travis Haagen <[email protected]> Co-authored-by: Dmitriy Vladykin <[email protected]>
Hi,
could I add a TURN server to the ICE Servers? I spent an hour on it but didn't get anywhere.
Thank you for a great project!
Ulf
The text was updated successfully, but these errors were encountered: