Can WebRTC be used for P2P web access?

30 views
Skip to first unread message

like...@gmail.com

unread,
Mar 13, 2017, 9:00:10 AM3/13/17
to discuss-webrtc
Hello

I have several devices (Raspberry Pi) behind NAT running Linux and WEB servers.
I want to access their web servers through Internet. (Port Forwarding, uPNP, discarded)
Currently I am using an intermediate server on internet, running localtunnel.me server and I access the devices with  URLs like that: RPI<number>.mydomain.com.
The problem is that all traffic is relayed in the server and I want a P2P connection (STUN,TURN,ICE,Signaling,...)

Can I use WebRTC with this aim? how would be the implementation? I mean, remote devices must have some kind of tunnel with the main server. When I access the main server with RPI<n>.mydomain.com it must do the machmaking between devices and client, then a P2P HTTP connection between client and devices is established.

Thx.
     


  



Kaiduan Xie

unread,
Mar 13, 2017, 10:05:33 AM3/13/17
to discuss...@googlegroups.com
The problem is how to run HTTP over P2P in browser without changing browser.

Of course you can setup a webrtc data channel between browser and the server behind NAT to transmit application data.

/Kaiduan


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/ef94fe6d-643a-4ae5-b263-4513d19be537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages