3

I am using opentok for video chat and screen sharing. It works perfectly for me on a browser. However my application also run natively using cordova.

There is a cordova-plugin for opentok which supports video calls but not screen sharing.

I want screen sharing to be implemented in my cordova app.

Is it possible? Is it possible using opentok? If not, is it possible using any other alternative?

Thanks in advance for your help!

ceuben
  • 319
  • 1
  • 4
  • 17
Aniket
  • 4,926
  • 12
  • 41
  • 54

2 Answers2

1

To my research it isn't possible yet with existing plugins to enable screen sharing in a Cordova app.

It is possible to do screen sharing with WebRTC. For example TokBox does have screen sharing implemented in their native SDKs, see:

  1. Android SDK
  2. IOS SDK

So somebody needs to implement these features into the OpenTok Cordova plugin which is public available to maintain and adjust.

Mark Veenstra
  • 4,691
  • 6
  • 35
  • 66
0

Cordova does not support WebRTC yet.
There are some plugins which provide WebRTC support as phoneRTC.
I think this plugin can help you.

However, instead of Cordova, you can use Crosswalk which support natively WebRTC.

Hope that help.