ExWebRTC. Recorder. S3
(ex_webrtc_recorder v0.4.0)
View Source
ExWebRTC.Recorder and ExWebRTC.Recorder.Converter can optionally upload/download files to/from S3-compatible storage.
To use this functionality, you must add the following dependencies to your project:
:ex_aws_s3:ex_aws:sweet_xml- an HTTP client (e.g.
:hackney)
Summary
Types
Options for configuring upload of artifacts to S3-compatible storage.
Reference to a started batch upload task.
Types
@type override_config() :: [override_option()]
Options described here
and here
(e.g. :access_key_id, :secret_access_key :scheme, :host, :port, :region).
They can be passed in order to override values defined in the application config (or environment variables).
@type upload_config() :: [upload_option() | override_option()]
@type upload_option() :: {:bucket_name, String.t()} | {:base_path, String.t()} | {:upload_manifest, boolean()}
Options for configuring upload of artifacts to S3-compatible storage.
:bucket_name(required) - Name of bucket objects will be uploaded to.:base_path- S3 path prefix used for objects uploaded to the bucket.""by default.:upload_manifest- Whether to upload the manifest file. Defaults totrue.
@opaque upload_task_ref()
Reference to a started batch upload task.