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

SRT: add srt log handle, srs log supoort multithread

This commit is contained in:
hondaxiao 2022-06-12 23:18:18 +08:00 committed by winlin
parent d03c6793b8
commit 910b5945af
5 changed files with 61 additions and 0 deletions

View file

@ -267,6 +267,10 @@ srs_error_t SrsSrtServerAdapter::initialize()
{
srs_error_t err = srs_success;
if ((err = srs_srt_log_initialie()) != srs_success) {
return srs_error_wrap(err, "srt log initialize");
}
_srt_eventloop = new SrsSrtEventLoop();
if ((err = _srt_eventloop->initialize()) != srs_success) {