#WebRTC Virtual Classrooms - DEPRECATED
see this project for a more elegant non meteor version
A Small Project that leverages the Licode WebRTC communications platform to create virtual classrooms using the relatively new WebRTC standard. The project uses meteor.js, react.js, redux.js, material-ui and the Licode WebRTC communications platform.
This project is still under heavy development. A working feature-complete prototype will be available by the end of August 2016.
##Setting up a development environment
- Install a Licode server using the instructions at http://lynckia.com/licode/install.html
- Install meteor.js
- Clone this repo
- Edit the project config file
- Run
npm install
- Run the project using the
meteor
command
##Setting up https
###Setting up https for the Licode server
You'll need to do this to be able to use screen capturing.
Open licode/scripts/licode_default.js
Change the settings as below:
config.erizoController.hostname = 'your_server_hostname_include_domain_name'; //default value: ''
config.erizoController.port = 8443; //default value: 8080
// Use true if clients communicate with erizoController over SSL
config.erizoController.ssl = true; //default value: false
// This configuration is used by erizoController server to listen for connections
// Use true if erizoController listens in HTTPS. SSL certificates located in /cert
config.erizoController.listen_ssl = true; //default value: false
config.erizoController.listen_port = 8443; //default value: 8080
Finally, replace both cert.pem and key.pem in /cert directory with your own cert files.
###Setting up https for the app
Below is a quick fix method to get your app running in https.
- Create an ssl certificate and key in the private directory
- Run
git clone https://github.com/Tarang/Meteor-SSL-proxy.git
outside the project cd Meteor-SSL-proxy
- Edit
PATH_to_KEY
andPATH_TO_CERT
in main.js to point to your key and certificate - Comment
PATH_TO_CHAIN
andca : fs.readFileSync(PATH_TO_CHAIN, 'utf8')
- Set
target
to http://localhost:8888 - Run main.js with forever or something