Membrane DTLS plugin
This plugin provides DTLS (including DTLS-SRTP one) implementation of Handshake behaviour for Membrane ICE Plugin.
Installation
The package can be installed by adding membrane_dtls_plugin
to your list of dependencies in mix.exs
:
def deps do
[
{:membrane_dtls_plugin, "~> 0.1.0"}
]
end
Usage
Use this plugin as handshake_module
in Membrane ICE Plugin.
source: %Membrane.ICE.Source{
stun_servers: ["ip:port"],
controlling_mode: false,
handshake_module: Membrane.DTLS.Handshake,
handshake_opts: [client_mode: true, dtls_srtp: true]
}
Copyright and License
Copyright 2020, Software Mansion
Licensed under the Apache License, Version 2.0