New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

livekit-client

Package Overview
Dependencies
Maintainers
1
Versions
237
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

livekit-client

JavaScript/TypeScript client SDK for LiveKit

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41K
decreased by-33.29%
Maintainers
1
Weekly downloads
 
Created
Source

JavaScript/TypeScript client SDK for LiveKit

Demo

test/sample.ts contains a demo webapp that uses the SDK. To run it, do

yarn sample

Access Token

In order to connect to a room, you need to first create an access token. Access tokens are JWT tokens that contain information about the authorization. LiveKit tokens include the room and participant name, and should be created for each participant that joins the room.

Access tokens can be created with livekit-cli, that came with the server, or other LiveKit server SDKs.

./bin/livekit-cli create-token --join --r <room_name> --p <participant_name>

You still need to create the room on the server separately, token encapsulates only permission to access the room.

FAQs

Package last updated on 24 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc