Important
This repository is now archived.
All membrane-webrtc-js functionality is now available as part of ts-client-sdk
Official JS/TS client library for Membrane RTC Engine
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>
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.
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.sockSee the Testcontainers' documentation to learn about known issues.
Documentation is available here
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 2022, Software Mansion
Licensed under the Apache License, Version 2.0