Skip to content

A Small Project that leverages the Licode media server to create virtual classrooms

License

Notifications You must be signed in to change notification settings

SanowerTamjit/webrtc-virtual-classrooms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

  1. Install a Licode server using the instructions at http://lynckia.com/licode/install.html
  2. Install meteor.js
  3. Clone this repo
  4. Edit the project config file
  5. Run npm install
  6. 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.

  1. Create an ssl certificate and key in the private directory
  2. Run git clone https://github.com/Tarang/Meteor-SSL-proxy.git outside the project
  3. cd Meteor-SSL-proxy
  4. Edit PATH_to_KEY and PATH_TO_CERT in main.js to point to your key and certificate
  5. Comment PATH_TO_CHAIN and ca : fs.readFileSync(PATH_TO_CHAIN, 'utf8')
  6. Set target to http://localhost:8888
  7. Run main.js with forever or something

About

A Small Project that leverages the Licode media server to create virtual classrooms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.8%
  • Other 0.2%