demo-rails-webrtc
demo-rails-webrtc copied to clipboard
A demo project shows how to use webrtc on rails
DEMO RAILS WEBRTC
Demo show how to build a video conference app with ruby on rails.
Tutorals
https://medium.com/@BranLiang/a-complete-guide-to-webrtc-with-ruby-on-rails-9ea68e67154e
https://ruby-china.org/topics/39820
Development setup
Install dependencies
bundle install
yarn install
Add twillio credentials
rails credentials:edit
twilio_account_sid: xxxx
twilio_auth_token: xxxx
Start server
bundle exec rails server
Usage example
- Open two tabs on your browser
- Click
Get Videoon both tabs - Wait several seconds until both connection are initialized
- Click
Join roomon one tab only! - Enjoy the demo video meeting!
Contributing
- Fork it (https://github.com/BranLiang/demo-rails-webrtc/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request