mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-15 20:45:57 +08:00
新增Assert异常类型,解决国标重复推流不注销问题 (#2393)
Co-authored-by: wangcheng <wangcheng@xwmail.com> Co-authored-by: xia-chu <771730766@qq.com>
This commit is contained in:
@@ -63,7 +63,7 @@ const char *PSDecoder::onSearchPacketTail(const char *data, size_t len) {
|
||||
|
||||
//解析失败,丢弃所有数据
|
||||
return data + len;
|
||||
} catch (std::exception &ex) {
|
||||
} catch (AssertFailedException &ex) {
|
||||
InfoL << "解析 ps 异常: bytes=" << len
|
||||
<< ", exception=" << ex.what()
|
||||
<< ", hex=" << hexdump(data, MIN(len, 32));
|
||||
|
||||
Reference in New Issue
Block a user