Discussion:
[PhoneGap] Phonegap Peer to Peer Chat and Video Chat Plugin
Varsha Shah
2015-03-31 14:59:58 UTC
Permalink
HI all

i am developing application using Phonegap , where i want to provide

- App to App Call Functionality (audio) between 2 Users Peer to peer

- App to App Call Functionality (audio) Group users


- App to App Call Functionality (Video) between 2 Users Peer to peer

- App to App Call Functionality (Video) Group users


Anyone please help me which api is best for above features?

At present i have used , pubnub.com , but it only provides Audio Chat to
User to User.

Anyone Please respond asap

Regards
Varsha
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
phonegap+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
o***@gmail.com
2015-04-03 13:34:52 UTC
Permalink
What's your definition of *peer to peer*? You could use WebRTC to implement
a client-to-client communication endpoint, use Websockets or even go
barebone tcp sockets.

WebRTC needs a signalling server for discovering your peers, but after the
initial handshake it is a fully p2p connection. TCP sockets are similar but
you would have to implement a sort of protocol yourself and it's a major
burden to connect two clients when behind a NAT or such. Websockets are the
easiest but data has to go through the server before reaching a client.
This means that there's more latency than the first two options. In theory
that would be something like 100-150ms latency in quasi-optimal conditions.

You could record the microphone's audio with the Media Plugin
http://plugins.cordova.io/#/package/org.apache.cordova.media , encode it in
real-time in base64/base128 or binary, and decode it on the receiver. This
would add some latency though and you might want to use native
calls/plugins for the decoding part at least.

I haven't looked up for the video part, but it shouldn't be too difficult
to build a plugin which gets the camera feed. When that part is done you'd
proceed in the same way of audio transmission.
Post by Varsha Shah
HI all
i am developing application using Phonegap , where i want to provide
- App to App Call Functionality (audio) between 2 Users Peer to peer
- App to App Call Functionality (audio) Group users
- App to App Call Functionality (Video) between 2 Users Peer to peer
- App to App Call Functionality (Video) Group users
Anyone please help me which api is best for above features?
At present i have used , pubnub.com , but it only provides Audio Chat to
User to User.
Anyone Please respond asap
Regards
Varsha
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
phonegap+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Osman Tekin
2015-04-03 14:38:11 UTC
Permalink
There is a plugin which makes it possible to get the camera preview from
within a Phonegap app: https://github.com/donaldp24/CanvasCameraPlugin You
could encode each frame and send it as a continuous video stream by
decoding it on the other side.
Post by Varsha Shah
HI all
i am developing application using Phonegap , where i want to provide
- App to App Call Functionality (audio) between 2 Users Peer to peer
- App to App Call Functionality (audio) Group users
- App to App Call Functionality (Video) between 2 Users Peer to peer
- App to App Call Functionality (Video) Group users
Anyone please help me which api is best for above features?
At present i have used , pubnub.com , but it only provides Audio Chat to
User to User.
Anyone Please respond asap
Regards
Varsha
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
phonegap+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Gaurav Patel
2017-10-01 05:37:53 UTC
Permalink
have you guys found any solution for one to many video call using webrtc or
phonertc?
Post by Varsha Shah
HI all
i am developing application using Phonegap , where i want to provide
- App to App Call Functionality (audio) between 2 Users Peer to peer
- App to App Call Functionality (audio) Group users
- App to App Call Functionality (Video) between 2 Users Peer to peer
- App to App Call Functionality (Video) Group users
Anyone please help me which api is best for above features?
At present i have used , pubnub.com , but it only provides Audio Chat to
User to User.
Anyone Please respond asap
Regards
Varsha
--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to ***@googlegroups.com
To unsubscribe from this group, send email to
phonegap+***@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...