mobile - Is there any framework to allow P2P communication via phone? -


i want build app allow p2p communication(send message, exchange files), build app phonegap, since want app cross platform.

i know webrtc allow real-time communication, browsers doesn't support well. found websocket plugin phonegap, satisfied part of requirement, can use send message, if use websocket send files b, guess traffic go through server, pressure server , don't want server carry traffic. can't make peer peer connection between , b.

is there anyway make p2p communication on phone? workaround solution welcome.

you can peer peer connections using flash or recent webrtc. these options can use so, websockets connect server.

as flash not supported phones (only android < 4.0 has support), can use webrtc. webrtc available on chrome beta now, you'll still have cross platform app not work in platforms/devices.

you have go through server (websockets or http) increase number of devices can cover.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -