A video conferencing app built with Ruby on Rails and the Zoom Video SDK
- Ruby 3.3.6+ & Rails 8.0.0+ (docs)
- Zoom Video SDK Account
-
Install dependencies:
bundle install
-
Set up environment variables: Create a
.env
file in the root directory with your Zoom SDK credentials:ZOOM_SDK_KEY=your_zoom_sdk_key_here ZOOM_SDK_SECRET=your_zoom_sdk_secret_here
-
Get Zoom SDK credentials:
- Go to Zoom Marketplace
- Create a Video SDK app
- Copy the SDK Key and SDK Secret
-
Start the server:
rails server
-
Access the application:
- Open http://localhost:3000
- Enter a session name and select your role
- Click "Join Session" to start the video call
GET /
- Main form pagePOST /zoom/generate_jwt
- Generate JWT tokenGET /zoom/video_session
- Video session page
jwt
- For JWT token generationdotenv-rails
- For environment variable management
- The JWT token is valid for 1 hour
- Make sure to keep your SDK credentials secure
- This is a basic implementation - add authentication and authorization as needed for production use