Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Official JS/TS client library for Membrane RTC Engine

License

Notifications You must be signed in to change notification settings

fishjam-dev/membrane-webrtc-js

Repository files navigation

Important

This repository is now archived.

All membrane-webrtc-js functionality is now available as part of ts-client-sdk

membrane-webrtc-js

NPM version

Official JS/TS client library for Membrane RTC Engine

Installation

Using npm:

npm install @jellyfish-dev/membrane-webrtc-js

or

yarn add @jellyfish-dev/membrane-webrtc-js

Using GitHub:

npm install jellyfish-dev/membrane-webrtc-js#<branch>

e2e tests

We use Playwright to run e2e tests.

Use the npm run e2e command to run them. You may need to install the browsers using this command: npx playwright install --with-deps.

The e2e tests start a Jellyfish instance via Docker and Testcontainers.

Colima

If you are using colima, you need to run these commands first:

export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock

See the Testcontainers' documentation to learn about known issues.

Documentation

Documentation is available here

Supported Membrane RTC Engine versions

Below table presents mappings between JS SDK and RTC Engine versions that can be used together.

JS SDK RTC Engine
0.1-0.2 0.2-0.7
0.3.0 0.7-0.8
0.4.0 0.9-0.13
0.5.0 0.14+

Copyright and License

Copyright 2022, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0