When creating a live recording service, you must store videos in an OSS bucket. Therefore, you must first create an OSS bucket.
Log on to the OSS console and click Create Bucket.
Enter the bucket information.
Select the region where the live video domain name is located as the Region. The live video domain name is located in China East 2 (Shanghai). Therefore, you must select China East 2 (Shanghai).
Note: After the bucket is created, check that the region of the bucket is consistent with that of the live video domain name. You can also create bucket folders as needed.
In Files, click Create Directory.
If you have many recording files, you can create folders to classify them so as to facilitate recording management.
Enter the Directory Name and click OK.
Configure the CDN domain name.
Recordings are stored in OSS. You can configure a CDN domain name and use CDN acceleration to view the recordings. CDN delivers videos stored in your OSS to nodes throughout China. Users can access the nearest CDN node to read files without accessing the original files in OSS and consuming OSS Internet traffic. By using CDN, the access rate and experience of your edge users are improved, and the CDN Internet traffic cost is only 50% of the OSS Internet traffic cost. This efficiently reduces the network fees for your applications.
Click Domain Names > Bind User Domain to configure CDN domain name.
You do not need to configure a CDN domain name if you only store your videos.
Note: The CDN domain name and the live video domain name cannot be the same. Set different domain names.