Inspiration

Interest in developing an adjacent to Zoom, a popular teleconference tool

What it does

The project integrates AgoraRTC SDK with Rails to render a simple video chat application. With this sample app, you can:

Join a meeting room contains upwards of 10 people at most (audiences will not be counted) with custom configuration:
+Identity

+Audience/Audio-Only/Video
+Resolution
+Go to Document Center for detail
+Transcode
+VP8, H264 (for safari)
+Disable/Enable video and audio
+Two kinds of layout: Hide remote window, Share screen (Install chrome extension first.)

How I built it

First, create a developer account at Agora.io, and obtain an App ID.

Update "agora.config.js" in "/src" with your App ID.

export const AGORA_APP_ID = 'abcdefg' Then download our SDK 'AgoraRTC-*.js', rename it to 'AgoraRTC.js' and put it under the path '/src/library/'. Now we use cdn to get sdk. You do not have to download it by yourself any more.

curl -L https://get.rvm.io | bash
rvm install ruby-2.0.0-p353
git clone git://github.com/lhmzhou/AgoraOnRails.git
cd AgoraOnRails
bundle install
cp config/database.yml.example config/database.yml
rake agoraonrails:setup
rails server

What's next for AgoraOnRails

Built With

Share this project:

Updates