# Membrane DTLS plugin

[![API Docs](](

DTLS and DTLS-SRTP Handshake implementation 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.2.0"}

## 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](

[![Software Mansion](](

Licensed under the [Apache License, Version 2.0](LICENSE)