Merge pull request #1942 from mtdxc/reduce_code

简化代码
This commit is contained in:
夏楚
2022-09-09 11:10:55 +08:00
committed by GitHub
19 changed files with 114 additions and 165 deletions

View File

@@ -103,9 +103,7 @@ void HttpSession::onError(const SockException& err) {
//flv/ts播放器
uint64_t duration = _ticker.createdTime() / 1000;
WarnP(this) << "FLV/TS/FMP4播放器("
<< _mediaInfo._vhost << "/"
<< _mediaInfo._app << "/"
<< _mediaInfo._streamid
<< _mediaInfo.shortUrl()
<< ")断开:" << err.what()
<< ",耗时(s):" << duration;