![]() ![]() 'Resource': 'arn:aws:s3:::agora-rec123/*'īefore deploying our back end, we need the following variables. Go to the Permissions tab in your newly created bucket and add this policy: To make files accessible by all users, we'll add a bucket policy. For example, if you're using the US_EAST_1 region, your bucket number is 0. Go to this table, click the Amazon S3 tab, and note your region number. We'll also need the region number for the selected AWS region. We'll discuss how to make the recording secure at the end of the post. Note: With the URL for your recording, anyone on the internet can view it. Allow public access to stream media from your bucket by deselecting the block all public access check box. ![]() Copy your AWS Access Key and Secret Key to the text file.Ĭhoose a name for your bucket and copy it to a text file. Add the AmazonS3FullAccess policy with Programmatic Access. Go to your AWS IAM Console and create a user. If you have already completed this setup, you can skip this section. Once you've created an AWS account, we need to create an Amazon S3 bucket to store our video recordings and an IAM user to access our bucket. Copy the Customer ID and the Customer Secret to a text file. Get customer credentials: Visit the RESTful API page and click the Add Secret button.Get app credentials: Copy the App ID and the App Certificate from the same page to a text file.Enable cloud recording: Click the View usage button and select the option to enable cloud recording.Select Secured Mode while creating the project. If you just want the demo, you can deploy the back end and build the app from the links provided.Īn Agora developer account (see How to Get Started)Ī Heroku account or another service to deploy the back endĬreate a project: Once you have an Agora account, click the Project Management tab in the console. We've updated the app and the back end from the last blog post to bring everything together. Here, we'll go over how to fetch and playback the recorded videos in a React Native application. In a previous blog post, we looked at how to add Agora cloud recording to a video chat application for storing the recordings in an Amazon S3 bucket. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |