合并http-ts播放器特性: #1336

This commit is contained in:
xiongziliang
2022-01-09 15:01:23 +08:00
parent a4c69e61cd
commit 7b04385bc8
6 changed files with 254 additions and 246 deletions

View File

@@ -51,7 +51,7 @@ void HttpTSPlayer::onResponseBody(const char *buf, size_t size, size_t recved_si
if (_split_ts) {
try {
_segment.input(buf, size);
}catch (std::exception &ex) {
} catch (std::exception &ex) {
WarnL << ex.what();
//ts解析失败清空缓存数据
_segment.reset();