mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: move accept log into srt conn cycle
This commit is contained in:
parent
e09daa2d4b
commit
c037f920b2
2 changed files with 2 additions and 2 deletions
|
@ -238,6 +238,8 @@ srs_error_t SrsMpegtsSrtConn::do_cycle()
|
|||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
srs_trace("SRT client ip=%s:%d, fd=%d", ip_.c_str(), port_, srt_fd_);
|
||||
|
||||
string streamid = "";
|
||||
if ((err = srs_srt_get_streamid(srt_fd_, streamid)) != srs_success) {
|
||||
return srs_error_wrap(err, "get srt streamid");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue