1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Log: Support write log to tencentcloud CLS. v5.0.44

This commit is contained in:
winlin 2022-08-07 12:11:37 +08:00
parent 3da0b57121
commit 95cd0e84eb
15 changed files with 1631 additions and 7 deletions

View file

@ -16,6 +16,7 @@
#include <srs_app_rtc_server.hpp>
#include <srs_app_log.hpp>
#include <srs_app_async_call.hpp>
#include <srs_app_tencentcloud.hpp>
#ifdef SRS_RTC
#include <srs_app_rtc_dtls.hpp>
@ -438,6 +439,9 @@ srs_error_t srs_global_initialize()
// Create global async worker for DVR.
_srs_dvr_async = new SrsAsyncCallWorker();
// Initialize global TencentCloud CLS object.
_srs_cls = new SrsClsClient();
return err;
}