Code Monkey home page Code Monkey logo

livekit-client-sdk-node's Introduction

๐Ÿ“น๐ŸŽ™๏ธ Unofficial Node Server Client SDK for LiveKit

The Livekit Node Client provides a convenient interface for integrating Livekit's real-time video and audio capabilities into your Node server applications. With this library, developers can easily leverage Livekit's WebRTC functionalities, allowing them to focus on building their application logic without worrying about the complexities of WebRTC.

This is for server side use for client side use, use https://github.com/livekit/client-sdk-js

This is a work in progress.

Official LiveKit documentation: https://docs.livekit.io/

Running

Thus far this works locally on my Mac, so you should be able to get that far as well.m

You need the rust client sdk. You can build this locally from the submodule or download a prebuilt. Prebuilt download script here: https://github.com/livekit/rust-sdks/blob/main/download_ffi.py

# Build client-sdk locally, you can skip this if you download a prebuilt. 
git submodule update --init
cd client-sdk-rust
cargo build

Setup the LIVEKIT_LIB_PATH in .env to point to the livekit_ffi.dylib or equivalent for your architecture.

There's a small C library that enables changing native pointer types in a way that keeps node happy. For now the code assumes this is in the bridge/ directory.

pushd bridge
make
popd

Run the basic room example.

yarn install
yarn run basic_room

livekit-client-sdk-node's People

Contributors

paulvanderspek avatar

Watchers

 avatar

Forkers

p-delorme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.