react-quiph-audiortc

1.0.2 • Public • Published

react-quiph-audiortc

Audio RTC component to enable webrtc audio calling inside qtalk web game/activity

NPM JavaScript Style Guide

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/>
    )
  }
}

License

© krunal-lia

Readme

Keywords

none

Package Sidebar

Install

npm i react-quiph-audiortc

Weekly Downloads

2

Version

1.0.2

License

none

Unpacked Size

118 kB

Total Files

6

Last publish

Collaborators

  • krunal_lia