meemooapp icon indicating copy to clipboard operation
meemooapp copied to clipboard

[module request] A WebRTC peer to peer connection widget

Open nathanathan opened this issue 11 years ago • 5 comments

I think having peer to peer connection modules could be used for doing a lot of interesting things. I would like to use p2p modules to build an online charades game that people play over their webcams. The database widget I proposed here (https://github.com/meemoo/iframework/issues/134) could be used to build the game's lobby and mediate connections.

I started a $10 bounty on this issue here: https://www.bountysource.com/issues/1030307-module-request-a-web-rtc-peer-to-peer-connection-widget

nathanathan avatar Oct 21 '13 09:10 nathanathan

Yes! @automata did a server version with Meteor a couple of years ago, but p2p would be better. Would be really cool for controllers on mobile browsers tweaking visuals on a powerful computer.

Has the standard settled out enough? Know of any simple webrtc p2p libraries?

forresto avatar Oct 21 '13 09:10 forresto

I know of this p2p library, although I haven't tried using it myself: http://peerjs.com/

nathanathan avatar Oct 21 '13 09:10 nathanathan

Seems ideal. Especially the hosted connection broker: http://peerjs.com/peerserver

I'd see this working that a no connection is made until a "room id" input is hit. Then you can save the app with that room id and send the gist to a friend, and you'll both be in that room of the p2p module.

forresto avatar Oct 21 '13 09:10 forresto

https://deepstreamhub.com/tutorials/protocols/webrtc-video-manipulation/

these APIs have matured a bit... i just did one for MediaRecorder: #138

forresto avatar Aug 24 '18 00:08 forresto

Bountysource decided to update their Terms of Service:

2.13 Bounty Time-Out. If no Solution is accepted within two years after a Bounty is posted, then the Bounty will be withdrawn and the amount posted for the Bounty will be retained by Bountysource. For Bounties posted before June 30, 2018, the Backer may redeploy their Bounty to a new Issue by contacting [email protected] before July 1, 2020. If the Backer does not redeploy their Bounty by the deadline, the Bounty will be withdrawn and the amount posted for the Bounty will be retained by Bountysource.

https://www.bountysource.com/issues/1030307-module-request-a-webrtc-peer-to-peer-connection-widget

gustavorps avatar Jun 18 '20 16:06 gustavorps