This is the simplest example of using livedigital-sdk to build webrtc applications
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"
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