How to stream video from backend (NodeJS) to LiveKit room using JWT?

267 Views Asked by At

There are not NodeJS SDK for backend and I can't find any ways to start streaming with JWT (by CLI or Go SDK). It need key and secret, but i can provide only access token JWT.

I tried use CLI for streaming, but it works only with api key and secret.

1

There are 1 best solutions below

1
Efim Kozhemyakin On

LiveKit doesn't have a node SDK at the moment but they have a number of server side "client" SDKs. The most popular one is the python SDK: https://github.com/livekit/python-sdks

From that SDK you can add a participant into the room that has access to raw audio and video frames which can be used in gstreamer via the appsrc plugin.