chfritz / typhone

An open-source, meteor-based web service and app for controlling your smartphone from your desktop.
http://typhone.xyz
Apache License 2.0
37 stars 12 forks source link

Support peer-to-peer (client-to-client) connection #2

Closed chfritz closed 9 years ago

chfritz commented 9 years ago

Is it possible to use WebRTC to send data between clients (web and phone) directly, without going through the server? If so then that would be neat for file transfer and/or streaming of phone camera.

chfritz commented 9 years ago

TODO:

  1. create meteor package
    • phonertc
    • signaling via meteor collection
  2. install STUN/TURN server (e.g., apt-get install coturn)
    • or just use STUN via freeice?
    • or don't do that and require clients to be on the same network where direct IP based connection is possible?
chfritz commented 9 years ago

Implemented in c9c667e5adae594042f171fe69253951d0250b8d