0

I have a working webrtc session working with a JSP (built with tokbox JS).Now i want to add the Shared Whiteboard feature to this session.I checked tokbox docs, there is nothing mentioned w.r.t whiteboard. there is a project at https://github.com/aullman/opentok-meet ,which has Whiteboard feature also (among other stunning features). However i am not able to figure out, how to use this code ,js etc , to create a whiteboard feature. has anyone implemented this and point me to right direction.

Any help is highly appreciated

Lucas Huang
  • 3,998
  • 3
  • 20
  • 29
zee
  • 502
  • 8
  • 28

1 Answers1

1

The code for the whiteboard in that application is available as a separate project here: https://github.com/aullman/opentok-whiteboard

It has some brief instructions in the README, but in short it uses Angular.js and defines a new ot-whiteboard directive.

Ankur
  • 2,792
  • 3
  • 23
  • 26
  • I checked this.Does this mean i have to use opentok-angular to write the whole webrtc session? because my otherwise Plain JS coded webrtc page doesnt work/integrate with this angular whiteboard.? Do you have any idea – zee Jul 28 '15 at 15:53
  • @zee you can use plain JS and create the whiteboard functionality, but the whiteboard itself is not provided by TokBox or the OpenTok platform. you should just be using the `session.signal()` API to send data between browsers, but your own implementation of the whiteboard would be different. – Ankur Sep 08 '15 at 01:11