Skip to content

zoom/videosdk-rubyonrails-quickstart

Repository files navigation

Zoom Video SDK Ruby on Rails Quickstart

A video conferencing app built with Ruby on Rails and the Zoom Video SDK

Prerequisites

Setup

  1. Install dependencies:

    bundle install
  2. 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
    
  3. Get Zoom SDK credentials:

  4. Start the server:

    rails server
  5. Access the application:

    • Open http://localhost:3000
    • Enter a session name and select your role
    • Click "Join Session" to start the video call

Routes

  • GET / - Main form page
  • POST /zoom/generate_jwt - Generate JWT token
  • GET /zoom/video_session - Video session page

Dependencies

  • jwt - For JWT token generation
  • dotenv-rails - For environment variable management

Notes

  • 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

About

This is a sample application that demonstrates how to use the Zoom Video SDK in a Ruby on Rails project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published