Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.36 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.36 KB

livedigital-sdk-example

This is the simplest example of using livedigital-sdk to build webrtc applications

Installation

Use the package manager yarn or npm to install the application dependencies.

yarn install
npm install

In accordance with the security policy, access to media servers is temporarily allowed only from the dev.livedigital.space domain on port 3000, add this entry to your hosts file

# dev (on https://dev.livedigital.space:3000)
sudo sh -c "echo '127.0.0.1 dev.livedigital.space' >> /etc/hosts"

Launch

Run the application in dev environment

First you need create application and channel in management API and provide applicationId, channelId and sdkSecret in src/config.ts More information about management API methods you can find in our api docs

You can also check our web sdk documentation

Now you can run the example

yarn dev