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:
parent
d03c6793b8
commit
910b5945af
5 changed files with 61 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue