Closed ibanezsc closed 2 years ago
Can you please provide a detailed description of what a scenario for storing data in cloud storage would look like? Can you provide an example?
TRANS_BY_GPT3
For example, using SRS as a streaming server, if you want to save the RTMP data received from the streaming service, the format can be FLV/MP4 or H264, but you don't want to manage the stored files yourself. Instead, you want to use third-party cloud storage for storage, such as major cloud platforms. How should this scenario be best handled?
TRANS_BY_GPT3
Understood, I will first consider supporting recording to Alibaba Cloud storage and conduct some research.
TRANS_BY_GPT3
I'm not sure if it is already supported now.
TRANS_BY_GPT3
Cloud storage docking is a business issue, so it is not done in the SRS, but rather in the SRS cloud server, implemented using Node.js.
SRS cloud server now supports recording to Tencent Cloud's COS. Please refer to Cloud Recording. The corresponding version of SRS cloud server is srs-terraform v1.0.113.
Load Test
With a total bitrate of 40Mbps for 20 streams, running for 40 hours, and writing 770GB of data, the server load remained around 3, and SRS CPU usage stayed at 20%, which is very healthy. The load testing for the cloud recording feature has passed, so everyone can use it with confidence.
The server is a machine with 2 cores, 2GB of memory, and a 40GB SSD hard drive.
TRANS_BY_GPT3