5

I have been using OpenTok for developing a webapp that can broadcast a stream to upto 2500 subscribers. OpenTok handles most of the work for you, but it doesn't allow screensharing - which is critical for my webapp. To enable screensharing, I'm looking for open source plugins/drivers which I can ask broadcasters to download and install, and the plugin should capture the screen and share it as a virtual webcam so that services like OpenTok can broadcast/archive/store it.

How do you proceed to write such a driver? Do you know any open source project which can serve as a good starting point?

Anant Jain
  • 76
  • 7
  • Hi @anant90 have you succeeded in your search already? I am also interested in such a feature – Mark Veenstra Oct 22 '14 at 08:23
  • Hi Mark, I stopped working on that project last summer - but I realized in the end that there are two approaches of doing the same - the approach described above, wherein a plugin captures the screen and shares it as a virtual webcam, or the WebRTC approach, where this functionality is built into the browser. When I posted this question, OpenTok was still Flash based - now they've moved to WebRTC framework and are doing a really good job at it, including iOS and Android in addition to the web. – Anant Jain Oct 23 '14 at 16:00
  • If you want to learn more about WebRTC, you should check out [WebRTC website](http://googlechrome.github.io/webrtc/) or [this very useful set of WebRTC related sample code](https://github.com/muaz-khan?tab=repositories) OpenTok still is the best out of the box solution for doing the same. Check out [OpenTok tutorials](https://tokbox.com/opentok/tutorials/) or [this screensharing example](https://johntsai.me/opentok/examples/webrtc_screenshare.php) – Anant Jain Oct 23 '14 at 16:00
  • Checkout or maybe follow for updates: https://github.com/songz/cordova-plugin-opentok/issues/115 – Mark Veenstra Oct 28 '14 at 08:56

2 Answers2

0

I dont know about open sourced projects for screensharing, but screenleap provides on api for screensharing that you can use with OpenTok.

songz
  • 2,082
  • 1
  • 14
  • 18
0

Have you use Opentok below link:

https://meet.tokbox.com/

and also provide source code on github

https://github.com/aullman/opentok-meet/tree/master/opentok-meet-cordova

I hope this will help you..

Jayesh Khasatiya
  • 2,140
  • 1
  • 14
  • 15