Skip to content

membraneframework-labs/membrane_dtls_plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Membrane DTLS plugin

Hex.pm API Docs CircleCI

DTLS and DTLS-SRTP Handshake implementation for Membrane Libnice 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.7.0"}
  ]
end

Usage

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 and License

Copyright 2020, Software Mansion

Software Mansion

Licensed under the Apache License, Version 2.0