mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 11:51:57 +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");
|
||||
|
|
|
@ -229,8 +229,6 @@ srs_error_t SrsSrtServer::fd_to_resource(srs_srt_t srt_fd, ISrsStartableConnecit
|
|||
return srs_error_wrap(err, "get srt ip port");
|
||||
}
|
||||
|
||||
srs_trace("accept srt client from %s:%d, fd=%d", ip.c_str(), port, srt_fd);
|
||||
|
||||
// TODO: FIXME: need to check max connection?
|
||||
|
||||
// The context id may change during creating the bellow objects.
|
||||
|
|
Loading…
Reference in a new issue