react-quiph-audiortc
v1.0.2
Published
Audio RTC component to enable webrtc audio calling inside qtalk web game/activity
Downloads
4
Readme
react-quiph-audiortc
Audio RTC component to enable webrtc audio calling inside qtalk web game/activity
Install
npm install --save react-quiph-audiortc
Usage
import React, { Component } from 'react'
import QAudioRTC from 'react-quiph-audiortc'
class App extends Component {
render () {
return (
{ this.state.interactionType === "WEB_SHARING" ?<QAudioRTC
callsDatabase={callsDatabase}
gameId={this.state.gameId}
startGame={this.startGameonCall}
endGame={this.endGameonCall}
dbUrl={this.state.dbUrl}
userId={this.state.userId}
/> : null }
<ActivityApp/>
)
}
}