borismus / copresence-vr

WebVR copresence using WebRTC.
http://smus.com/copresence-webvr/
31 stars 9 forks source link

Maybe OpenTok? #3

Open sfraise opened 7 years ago

sfraise commented 7 years ago

I'm definitely going to play with this a little but I wonder if maybe using OpenTok which basically handles all of the WebRTC and stream routing for you would be an easier way to go here especially when considering a group stream handler as opposed to p2p. Granted it's not a free api but like you mentioned in your blog digging directly into the WebRTC api is not for the faint of heart and handling streams between multiple people as opposed to p2p as far as I know still requires a pretty heady stream routing server of some sort and of course you have to consider bandwidth issues and all of that other fun stuff as well.

I built a group meeting platform using a combo of OpenTok and Firebase a few years ago (actually it was originally flash that we converted to WebRTC when it was still just beta and only supported in Chrome so maybe more than a few years ago lol) but it seems like it would be a really natural thing to use here.

Thoughts on this?

borismus commented 7 years ago

Sure, why not? No objections to OpenTok, although I had never heard about it until now.

But I was curious to dig into WebRTC specifically, just to get a better sense of the underlying API. A lot of the wrappers I tried didn't work, so I was discouraged. Also the non-free part of OpenTok is a deal breaker for many people.