Skip to content

Files

Latest commit

 

History

History
40 lines (30 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.11 KB

ExWebRTC Recorder

Hex.pm API Docs

Records and processes RTP packets sent and received using ExWebRTC.

Installation

Add :ex_webrtc_recorder to your list of dependencies

def deps do
  [
    {:ex_webrtc_recorder, "~> 0.2.1"}
  ]
end

If 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.

S3

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.2.1"},
    {:ex_aws_s3, "~> 2.5"},
    {:ex_aws, "~> 2.5"},
    {:sweet_xml, "~> 0.7"},
    {:req, "~> 0.5"}         # or any other HTTP client supported by `ex_aws`
  ]
end

See ExWebRTC.Recorder.S3 for more info.