Chrome-Extensions
Chrome-Extensions copied to clipboard
Is p2p screen sharing still supported?
Hey,
first of all, great work with developing these extensions!
Lately however, desktopCapture-p2p
has stopped working when used over public internet. I guess this is an issue with STUN/TURN, as the extension works perfectly when used over localhost or local network.
Issue
When using desktopCapture-p2p
over public network, the connection is made (i.e extension shows that a viewer is present), but no video stream is shown in the viewer-side. On the viewer page, console is logged with messages like this:
adding candidate candidate:3511702143 1 udp 2113937151 {ip} 49421 typ host generation 0 ufrag uwwl network-cost 999
This happens with latest versions of Chrome and Firefox.
Wondering if you have any tips or guide how to solve this?
Thanks.
Have you got the solution?
No, I haven't. If anyone knows how to solve this, lets share. From what I've gathered from Google searches, this seems to be common problem for many people. :)
I installed coturn today to replace the STUN/TURN from google with my own STUN/TURN.
This article may be helpful to install coturn. After coturn is installed, I have problem to check STUN/TURN in Chrome using this tool, however, it's OK for Firefox. I guess it's not the server's fault but the Chrome's (also found this issue). After you test the connection successfully in Firefox, continue to replace the STUN/TURN urls in desktopCapture-p2p code. Don't forget to check the urls in these three files:
- AntMediaWrapper.js
- IceServersHandler.js
- RTCMultiConnection.min.js
The extension only works when I use the IP of the STUN/TURN server, cannot use domain. If anyone can confirm that or know the reason, please let me know.
I also updated libs, RTCMultiConnection.min.js and socket.io.js to the latest version, but I think it's optional to solve the issue.