Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.61 KB

RecordingsBucket.md

File metadata and controls

26 lines (20 loc) · 1.61 KB

Daily::RecordingsBucket

Properties

Name Type Description Notes
bucket_name String The name of the Amazon S3 bucket to use for recording storage. [optional]
bucket_region String The region which the specified S3 bucket is located in. [optional]
assume_role_arn String The Amazon Resource Name (ARN) of the role Daily should assume when storing the recording in the specified bucket. [optional]
allow_api_access Boolean Controls whether the recording will be accessible using Daily's API. [optional]
allow_streaming_from_bucket Boolean Specifies which `Content-Disposition` response header the recording link retrieved from the access-link REST API endpoint will have. If `allow_streaming_from_bucket` is `false`, the header will be `Content-Dispostion: attachment`. If `allow_streaming_from_bucket` is `true`, the header will be `Content-Disposition: inline`. To play the recording link directly in the browser or embed it in a video player, set this property to `true`. [optional][default to false]

Example

require 'daily-ruby'

instance = Daily::RecordingsBucket.new(
  bucket_name: my-daily-recording,
  bucket_region: ap-south-1,
  assume_role_arn: arn:aws:iam::555555555555:role/DailyS3AccessRole,
  allow_api_access: null,
  allow_streaming_from_bucket: null
)