mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-14 03:55:58 +08:00
直接打印SockException类
This commit is contained in:
@@ -118,7 +118,7 @@ void HlsPlayer::fetchSegment() {
|
||||
return;
|
||||
}
|
||||
if (err) {
|
||||
WarnL << "Download ts segment " << url << " failed:" << err.what();
|
||||
WarnL << "Download ts segment " << url << " failed:" << err;
|
||||
if (err.getErrCode() == Err_timeout) {
|
||||
strong_self->_timeout_multiple = MAX(strong_self->_timeout_multiple + 1, MAX_TIMEOUT_MULTIPLE);
|
||||
}else{
|
||||
|
||||
@@ -101,7 +101,7 @@ void HttpSession::onError(const SockException& err) {
|
||||
uint64_t duration = _ticker.createdTime() / 1000;
|
||||
WarnP(this) << "FLV/TS/FMP4播放器("
|
||||
<< _mediaInfo.shortUrl()
|
||||
<< ")断开:" << err.what()
|
||||
<< ")断开:" << err
|
||||
<< ",耗时(s):" << duration;
|
||||
|
||||
GET_CONFIG(uint32_t, iFlowThreshold, General::kFlowThreshold);
|
||||
@@ -111,9 +111,6 @@ void HttpSession::onError(const SockException& err) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
//http客户端
|
||||
TraceP(this) << err.what();
|
||||
}
|
||||
|
||||
void HttpSession::onManager() {
|
||||
|
||||
Reference in New Issue
Block a user