Skip to content

video chatroom using meteor + webrtc + react + flux

Notifications You must be signed in to change notification settings

veeramarni/quasar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quasar

View the project at quasar.meteor.com

A real-time video chatroom app built with Meteor + React + Flux + WebRTC

FE: react + flux + webrtc BE: meteor

quasar works in browsers that support WebRTC and has so far been tested in Chrome and Firefox.

Installation

  1. Clone the project git clone https://github.com/srtucker22/quasar.git

  2. Go to the primary directory cd quasar

  3. Add a settings.json to the primary directory touch settings.json

  4. Add your personal settings for the following services included in quasar (or remove the ones you don't want)

     {
       "google" : {
         "clientId" : "YOUR_CLIENT_ID",
         "clientSecret" : "YOUR_CLIENT_SECRET"
       },
       "kadira": {
         "appId": "YOUR_APP_ID",
         "appSecret": "YOUR_APP_SECRET
       },
       "public": {
         "analyticsSettings": {
           "Google Analytics": {"trackingId": "YOUR_TRACKING_ID"},
           "Segment.io" : {"apiKey": "YOUR_API_KEY"}
         }
       }
     }
    
  5. run the app with the settings meteor --settings settings.json

  6. enjoy!

Code Example

Most of the WebRTC magic happens using communication via Meteor Streams. On the backend, the streams are managed in roomStream in room.stream.jsx and handled by RTCStore on the frontend in rtc.store.jsx.

Contributing

Would love any code contributions, and please raise issues if you run into bugs or have feature requests, etc. Thanks!

Motivation

quasar makes for a solid example of how to integrate React + Flux in a Meteor app, and how to get a WebRTC video chatroom up and running.

Resources

Upcoming

  • React Native / Meteor iOS app that works with quasar on the web
  • change the name ~ HELP!

TODO

  • global namespace for appName
  • remove Radium local weirdness when issue is resolved
  • raix notifications
  • turn servers?
  • google contact integration in tags input
  • package the thing

License

The MIT License

Copyright (c) 2015 Glipcode http://glipcode.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

video chatroom using meteor + webrtc + react + flux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.5%
  • HTML 2.3%
  • CSS 0.2%