Membrane RTC Engine
View SourceCustomizable Real-time Communication Engine/SFU library focused on WebRTC.
Installation
The package can be installed by adding membrane_rtc_engine to your list of dependencies in mix.exs:
def deps do
[
{:membrane_rtc_engine, "~> 0.25.0"}
]
endTo use a given Endpoint, you have to include it in your list of dependencies as well:
def deps do
[
{:membrane_rtc_engine, "~> 0.25.0"},
{:membrane_rtc_engine_webrtc, "~> 0.9.0"}
]
endUsage
For usage examples, please refer to our membrane_demo or membrane_videoroom repositories.
Developing
To make development a little easier, we have added several tasks:
mix test.all, which runs unit tests from the engine, unit tests from each endpoint, and endpoint integration tests,mix test.ex_webrtc.integration, which runs WebRTC Endpoint integration tests (present here),- To test a given Endpoint, you can use the alias
mix test.ENDPOINT, e.g.mix test.ex_webrtc, - To run the endpoint integration test suite, execute
mix test.integration.
Copyright and License
Copyright 2021, Software Mansion
Licensed under the Apache License, Version 2.0