React shared whiteboard that works with Opentok
npm:
npm i opentok-react-whiteboard
yarn :
yarn add opentok-react-whiteboard
or clone this repo.
<OTSession
apiKey={this.props.apiKey}
sessionId={this.props.sessionId}
token={this.props.token}
eventHandlers={this.sessionEvents}
onError={this.onError}
>
<OTWhiteBoard />
</OTSession>
git clone https://github.com/MedElfadhelELHACHEMI/opentok-react-whiteboard.git
yarn
yarn run example