This package provides bins and elements for sending and receiving RTP/SRTP and RTCP/SRTCP streams.
It is a part of Membrane Multimedia Framework.
The package can be installed by adding membrane_rtp_plugin
to your list of dependencies in mix.exs
:
def deps do
[
{:membrane_rtp_plugin, "~> 0.15.0"}
{:ex_libsrtp, "~> 0.3.0"} # required only if SRTP/SRTCP support is needed
]
end
If SRTP/SRTCP support is needed, one has to install libsrtp
to their system.
Run brew install srtp
Run apt install libsrtp2-dev
For more details and manual installation, see ExLibSRTP HexDocs.
For usage examples, check the RTP demo.
The docs can be found at HexDocs.
Copyright 2020, Software Mansion
Licensed under the Apache License, Version 2.0