Records and processes RTP packets sent and received using ExWebRTC.
Add :ex_webrtc_recorder to your list of dependencies
def deps do
[
{:ex_webrtc_recorder, "~> 0.3.0"}
]
endIf you want to use Converter to generate WEBM files from the recordings,
you need to have the ffmpeg binary with the relevant libraries present in PATH.
ExWebRTC Recorder comes with optional support for uploading the recordings to S3-compatible storage, but it must be explicitly turned on by adding the following dependencies:
def deps do
[
{:ex_webrtc_recorder, "~> 0.3.0"},
{:ex_aws_s3, "~> 2.5"},
{:ex_aws, "~> 2.5"},
{:sweet_xml, "~> 0.7"},
{:hackney, "~> 1.9"} # or any other HTTP client supported by `ex_aws`
]
endSee ExWebRTC.Recorder.S3 for more info.