优化http-ts播放器日志提示

This commit is contained in:
ziyue 2022-01-19 22:53:21 +08:00
parent ee6ad66a6d
commit 0f905b7333

View File

@ -42,7 +42,7 @@ void TsPlayer::onResponseCompleted() {
} }
void TsPlayer::onDisconnect(const SockException &ex) { void TsPlayer::onDisconnect(const SockException &ex) {
WarnL << _ts_url << " :" << ex.getErrCode() << " " << ex.what(); WarnL << "play " << _ts_url << " failed: " << ex.getErrCode() << " " << ex.what();
if (_first) { if (_first) {
//第一次失败,则播放失败 //第一次失败,则播放失败
_first = false; _first = false;