Skip to content

Examples of creating a Vue project using LiveSwitch Web SDK.

Notifications You must be signed in to change notification settings

liveswitch/liveswitch-vue-project

Repository files navigation

LiveSwitch Vue Project Example

This repository includes a LiveSwitch Vue project. It demonstrates how to create an SFU connection to stream video and audio using LiveSwitch Web SDK.

Tools You Need

Vue CLI 4.2.2+

Add an Application in LiveSwitch

Before you can run the app, you must add an Application in the LiveSwitch Console.

  1. Log into the LiveSwitch Console. If you don't have an account, contact us about trying out LiveSwitch.
  2. Click Applications > New.
  3. Enter a name for your Application.
  4. Click the Application you just created to open the Application Settings page. You can find your Application ID and Shared Secret there. This information is needed for generating your authorization token.

Run the App

  1. Check out this repository and update /liveswitch_config.json with your own Application ID and Shared Secret.

  2. Install all the dependencies:

    npm install
    
  3. Run the app:

    npm run serve
    
  4. Navigate to http://localhost:8080/. You should see video streaming on the web page. To emulate a video conference with multiple participants, open the page in multiple browser windows or tabs.

For a more detailed set up, visit LiveSwitch's documentation.

About

Examples of creating a Vue project using LiveSwitch Web SDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published