@jellyfish-dev/membrane-webrtc-js
v0.7.1
Published
JS/TS client library for Membrane RTC Engine.
Downloads
403
Readme
membrane-webrtc-js
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
Licensed under the Apache License, Version 2.0