DTLS and DTLS-SRTP Handshake implementation for Membrane Libnice Plugin.
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.7.0"}
]
end
Use this plugin as handshake_module
in Membrane Libnice Plugin.
source: %Membrane.Libnice.Bin{
stun_servers: ["ip:port"],
controlling_mode: false,
handshake_module: Membrane.DTLS.Handshake,
handshake_opts: [client_mode: true, dtls_srtp: true]
}
Copyright 2020, Software Mansion
Licensed under the Apache License, Version 2.0