meemoo / meemooapp

Creative apps to use, build, share, and hack in the browser.
http://meemoo.org/hack-our-apps/
GNU Affero General Public License v3.0
258 stars 52 forks source link

[module request] A WebRTC peer to peer connection widget #135

Open nathanathan opened 11 years ago

nathanathan commented 11 years ago

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

forresto commented 11 years ago

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?

nathanathan commented 11 years ago

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

forresto commented 11 years ago

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 commented 6 years ago

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

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

gustavorps commented 4 years ago

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 support@bountysource.com 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