[BUG]: rtp拉流代码崩溃
envgap__ZLMediaKit__ZLMediaKit-1956
01 / FAILURE SIGNATURE
As reported upstream
2022-09-13 15:27:57.441 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
b77c19c969c0e46a9e8a3b35524a3b84da3f541c- Manifest
CMakeLists.txt- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
ZLMediaKit/ZLMediaKit #1956 · read the original issue
<!--
请仔细阅读相关注释提示, 请务必根据提示填写相关信息.
1. 信息不完整会影响问题的解决速度.
1. 乱七八糟的渲染格式也会影响开发者心情, 同样会影响问题的解决. 提交前请务必点击 Preview/预览下反馈的显示效果.
1. 不要删除模版内容, 模版的注释部分的内容不会显示,不需要删除,直接在各部分注释外面补充相关信息即可.
-->
<!--
markdown 语法参考:
* https://docs.github.com/cn/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
* https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax
-->
### 现象描述
使用 wvp-GB28181-pro 和 ZLMediaKit 实现IPC GB28181 接入,在拉流的过程中代码崩溃
<!--
在使用什么功能产生的问题? 其异常表现是什么?
如: 在测试 WebRTC 功能时, 使用 Chrome 浏览器访问 ZLMediait 自带网页播放 FFmpeg 以 RTSP 协议推送的图像有卡顿/花屏.
-->
### 如何复现?
拉最新代码,没有做任何修改,配合wvp拉流,目前环境大概20个IPC左右,代码不定时崩溃
<!--
明确的复现步骤对快速解决问题极有帮助.
格式参考:
1. 首先 ...
1. 然后 ...
1. 期望 ..., 结果 ...
-->
### 相关日志或截图
<!--
由于日志通长较长, 建议将日志信息填写到下面的 "日志内容..."
如果是程序异常崩溃/终止, 相关调用栈信息也极为有用, 可复制下面的格式, 添加相关调用栈信息.
替换下面的 "日志内容..." 为实际日志内容.
-->
<details>
<summary>展开查看详细crash日志</summary>
<pre>
## crash date:2022-09-13 15:28:03
## exe: MediaServer
## signal: 6
## version: ZLMediaKit(git hash:098bd31,branch:master,build time:Sep 13 2022 08:44:12)
## stack:
[0]: ./MediaServer(+0x8e0cc9) [0x557bd1587cc9]
??
??:0
[1]: /lib/x86_64-linux-gnu/libc.so.6(+0x3ef10) [0x7f6e3ba6af10]
??
??:0
[2]: /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f6e3ba6ae87]
??
??:0
[3]: /lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f6e3ba6c7f1]
??
??:0
[4]: /lib/x86_64-linux-gnu/libc.so.6(+0x303fa) [0x7f6e3ba5c3fa]
??
??:0
[5]: /lib/x86_64-linux-gnu/libc.so.6(+0x30472) [0x7f6e3ba5c472]
??
??:0
[6]: ./MediaServer(+0xdd4cd7) [0x557bd1a7bcd7]
??
??:0
[7]: ./MediaServer(+0xdd4f6b) [0x557bd1a7bf6b]
??
??:0
[8]: ./MediaServer(pes_packet+0x7c) [0x557bd1a7c0e3]
??
??:0
[9]: ./MediaServer(+0xdcd52c) [0x557bd1a7452c]
??
??:0
[10]: ./MediaServer(ps_demuxer_input+0x150) [0x557bd1a74752]
??
??:0
[11]: ./MediaServer(_ZN8mediakit9PSDecoder18onSearchPacketTailEPKcm+0x57) [0x557bd1a173c3]
??
??:0
[12]: ./MediaServer(_ZN8mediakit19HttpRequestSplitter5inputEPKcm+0x202) [0x557bd17a5164]
??
??:0
[13]: ./MediaServer(_ZN8mediakit9PSDecoder5inputEPKhm+0x2f) [0x557bd1a17365]
??
??:0
[14]: ./MediaServer(_ZN8mediakit10DecoderImp5inputEPKhm+0x33) [0x557bd1a0ecf9]
??
??:0
[15]: ./MediaServer(_ZN8mediakit14GB28181Process11onRtpDecodeERKSt10shared_ptrINS_5FrameEE+0x342) [0x557bd19bcc14]
??
??:0
[16]: ./MediaServer(+0xd1423e) [0x557bd19bb23e]
??
??:0
[17]: ./MediaServer(+0xd1ee22) [0x557bd19c5e22]
??
??:0
[18]: ./MediaServer(_ZNKSt8functionIFbRKSt10shared_ptrIN8mediakit5FrameEEEEclES5_+0x49) [0x557bd191c16d]
??
??:0
[19]: ./MediaServer(_ZN8mediakit26FrameWriterInterfaceHelper10inputFrameERKSt10shared_ptrINS_5FrameEE+0x27) [0x557bd191bbd5]
??
??:0
[20]: ./MediaServer(_ZN8mediakit15FrameDispatcher10inputFrameERKSt10shared_ptrINS_5FrameEE+0xb4) [0x557bd191bc8c]
??
??:0
[21]: ./MediaServer(_ZN8mediakit16CommonRtpDecoder8inputRtpERKSt10shared_ptrINS_9RtpPacketEEb+0x152) [0x557bd19fce5c]
??
??:0
[22]: ./MediaServer(_ZN8mediakit14GB28181Process11onRtpSortedESt10shared_ptrINS_9RtpPacketEE+0x77) [0x557bd19ba2eb]
??
??:0
[23]: ./MediaServer(+0xd13ff0) [0x557bd19baff0]
??
??:0
[24]: ./MediaServer(+0xd1ec51) [0x557bd19c5c51]
??
??:0
[25]: ./MediaServer(_ZNKSt8functionIFvSt10shared_ptrIN8mediakit9RtpPacketEEEEclES3_+0x49) [0x557bd19e41f3]
??
??:0
[26]: ./MediaServer(_ZN8mediakit11RtpTrackImp11onRtpSortedESt10shared_ptrINS_9RtpPacketEE+0x6e) [0x557bd19e2af4]
??
??:0
[27]: ./MediaServer(+0xd3acb6) [0x557bd19e1cb6]
??
??:0
[28]: ./MediaServer(+0xd3be0b) [0x557bd19e2e0b]
??
??:0
[29]: ./MediaServer(_ZNKSt8functionIFvtRSt10shared_ptrIN8mediakit9RtpPacketEEEEclEtS4_+0x63) [0x557bd19e4f43]
??
??:0
[30]: ./MediaServer(_ZN8mediakit12PacketSortorISt10shared_ptrINS_9RtpPacketEEtLm1024ELm32EE11popIteratorESt17_Rb_tree_iteratorISt4pairIKtS3_EE+0x9c) [0x557bd19e4e3a]
??
??:0
[31]: ./MediaServer(_ZN8mediakit12PacketSortorISt10shared_ptrINS_9RtpPacketEEtLm1024ELm32EE9popPacketEv+0x65) [0x557bd19e4767]
??
??:0
[32]: ./MediaServer(_ZN8mediakit12PacketSortorISt10shared_ptrINS_9RtpPacketEEtLm1024ELm32EE12tryPopPacketEv+0x84) [0x557bd19e441e]
??
??:0
[33]: ./MediaServer(_ZN8mediakit12PacketSortorISt10shared_ptrINS_9RtpPacketEEtLm1024ELm32EE10sortPacketEtS3_+0xb7) [0x557bd19e4095]
??
??:0
[34]: ./MediaServer(_ZN8mediakit8RtpTrack8inputRtpENS_9TrackTypeEiPhm+0x80e) [0x557bd19e2838]
??
??:0
[35]: ./MediaServer(_ZN8mediakit14RtpReceiverImp8inputRtpENS_9TrackTypeEPhm+0x52) [0x557bd19c78fa]
??
??:0
[36]: ./MediaServer(_ZN8mediakit14GB28181Process8inputRtpEbPKcm+0x1219) [0x557bd19bc45f]
??
??:0
[37]: ./MediaServer(_ZN8mediakit10RtpProcess8inputRtpEbRKSt10shared_ptrIN7toolkit6SocketEEPKcmPK8sockaddrPm+0x6bc) [0x557bd1875ba2]
??
??:0
[38]: ./MediaServer(+0xbec0b2) [0x557bd18930b2]
??
??:0
[39]: ./MediaServer(+0xbee2e1) [0x557bd18952e1]
??
??:0
[40]: ./MediaServer(_ZNKSt8functionIFvRKSt10shared_ptrIN7toolkit6BufferEEP8sockaddriEEclES5_S7_i+0x75) [0x557bd167c75f]
??
??:0
[41]: ./MediaServer(_ZN7toolkit6Socket6onReadERKSt10shared_ptrINS_6SockFDEEb+0x4cc) [0x557bd1670562]
??
??:0
[42]: ./MediaServer(+0x9c8cfc) [0x557bd166fcfc]
??
??:0
[43]: ./MediaServer(+0x9cf0cb) [0x557bd16760cb]
??
??:0
[44]: ./MediaServer(_ZNKSt8functionIFviEEclEi+0x48) [0x557bd167c50e]
??
??:0
[45]: ./MediaServer(_ZN7toolkit11EventPoller7runLoopEbb+0x30c) [0x557bd16aa24e]
??
??:0
[46]: ./MediaServer(_ZSt13__invoke_implIvMN7toolkit11EventPollerEFvbbEPS1_JbbEET_St21__invoke_memfun_derefOT0_OT1_DpOT2_+0x9e) [0x557bd16af6b3]
??
??:0
[47]: ./MediaServer(_ZSt8__invokeIMN7toolkit11EventPollerEFvbbEJPS1_bbEENSt15__invoke_resultIT_JDpT0_EE4typeEOS6_DpOS7_+0x7e) [0x557bd16adf7f]
??
??:0
[48]: ./MediaServer(_ZNSt6thread8_InvokerISt5tupleIJMN7toolkit11EventPollerEFvbbEPS3_bbEEE9_M_invokeIJLm0ELm1ELm2ELm3EEEEDTcl8__invokespcl10_S_declvalIXT_EEEEESt12_Index_tupleIJXspT_EEE+0x7b) [0x557bd16b7f65]
??
??:0
[49]: ./MediaServer(_ZNSt6thread8_InvokerISt5tupleIJMN7toolkit11EventPollerEFvbbEPS3_bbEEEclEv+0x2c) [0x557bd16b7dca]
??
??:0
[50]: ./MediaServer(_ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJMN7toolkit11EventPollerEFvbbEPS4_bbEEEEE6_M_runEv+0x1c) [0x557bd16b7bce]
??
??:0
[51]: /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xbd6df) [0x7f6e3c4906df]
??
??:0
[52]: /lib/x86_64-linux-gnu/libpthread.so.0(+0x76db) [0x7f6e3cebb6db]
??
??:0
[53]: /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f6e3bb4d61f]
??
??:0
</pre>
</details>
<details>
<summary>展开查看详细日志</summary>
<pre>
2022-09-13 15:27:57.440 W MediaServer[19467-event poller 7] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000413/2022-09-13/15/27-52_8990.ts failed:bad http status code:404
2022-09-13 15:27:57.441 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167764-126(172.16.1.221:33481) end of file
2022-09-13 15:27:57.441 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167764-126(172.16.1.221:33481)
2022-09-13 15:27:57.442 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167765-126(172.16.1.221:33099)
2022-09-13 15:27:57.442 W MediaServer[19467-event poller 7] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000413/2022-09-13/15/27-54_8991.ts failed:bad http status code:404
2022-09-13 15:27:57.442 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167765-126(172.16.1.221:33099) end of file
2022-09-13 15:27:57.442 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167765-126(172.16.1.221:33099)
2022-09-13 15:27:57.572 T MediaServer[19467-event poller 7] HttpSession.cpp:27 HttpSession | 167766-126(172.16.1.221:36379)
2022-09-13 15:27:57.572 W MediaServer[19467-event poller 4] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000407/2022-09-13/15/27-51_8293.ts failed:bad http status code:404
2022-09-13 15:27:57.572 T MediaServer[19467-event poller 7] HttpSession.cpp:119 onError | 167766-126(172.16.1.221:36379) end of file
2022-09-13 15:27:57.572 T MediaServer[19467-event poller 7] HttpSession.cpp:33 ~HttpSession | 167766-126(172.16.1.221:36379)
2022-09-13 15:27:57.882 T MediaServer[19467-event poller 7] HttpSession.cpp:27 HttpSession | 167767-126(172.16.1.221:45643)
2022-09-13 15:27:57.883 W MediaServer[19467-event poller 6] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320008585_34020000001320008585/2022-09-13/15/27-54_10270.ts failed:bad http status code:404
2022-09-13 15:27:57.883 T MediaServer[19467-event poller 7] HttpSession.cpp:119 onError | 167767-126(172.16.1.221:45643) end of file
2022-09-13 15:27:57.883 T MediaServer[19467-event poller 7] HttpSession.cpp:33 ~HttpSession | 167767-126(172.16.1.221:45643)
2022-09-13 15:27:57.884 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167768-126(172.16.1.221:45495)
2022-09-13 15:27:57.885 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000408/2022-09-13/15/27-54_9113.ts failed:bad http status code:404
2022-09-13 15:27:57.885 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167768-126(172.16.1.221:45495) end of file
2022-09-13 15:27:57.885 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167768-126(172.16.1.221:45495)
2022-09-13 15:27:57.910 T MediaServer[19467-event poller 3] HttpSession.cpp:27 HttpSession | 167769-126(172.16.1.221:39995)
2022-09-13 15:27:57.911 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000414/2022-09-13/15/27-53_10033.ts failed:bad http status code:404
2022-09-13 15:27:57.911 T MediaServer[19467-event poller 3] HttpSession.cpp:119 onError | 167769-126(172.16.1.221:39995) end of file
2022-09-13 15:27:57.911 T MediaServer[19467-event poller 3] HttpSession.cpp:33 ~HttpSession | 167769-126(172.16.1.221:39995)
2022-09-13 15:27:57.912 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167770-126(172.16.1.221:46075)
2022-09-13 15:27:57.912 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000414/2022-09-13/15/27-55_10034.ts failed:bad http status code:404
2022-09-13 15:27:57.913 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167770-126(172.16.1.221:46075) end of file
2022-09-13 15:27:57.913 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167770-126(172.16.1.221:46075)
2022-09-13 15:27:58.659 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167771-126(172.16.1.221:36783)
2022-09-13 15:27:58.660 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44020000001320000001_44020000001320000001/2022-09-13/15/27-53_8223.ts failed:bad http status code:404
2022-09-13 15:27:58.660 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167771-126(172.16.1.221:36783) end of file
2022-09-13 15:27:58.661 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167771-126(172.16.1.221:36783)
2022-09-13 15:27:58.808 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167772-126(172.16.1.221:41689)
2022-09-13 15:27:58.809 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000401/2022-09-13/15/27-53_8714.ts failed:bad http status code:404
2022-09-13 15:27:58.809 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167772-126(172.16.1.221:41689) end of file
2022-09-13 15:27:58.809 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167772-126(172.16.1.221:41689)
2022-09-13 15:27:58.811 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167773-126(172.16.1.221:37749)
2022-09-13 15:27:58.811 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000401/2022-09-13/15/27-55_8715.ts failed:bad http status code:404
2022-09-13 15:27:58.812 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167773-126(172.16.1.221:37749) end of file
2022-09-13 15:27:58.812 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167773-126(172.16.1.221:37749)
2022-09-13 15:27:59.048 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167774-126(172.16.1.221:33435)
2022-09-13 15:27:59.049 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320015143_34020000001320015143/2022-09-13/15/27-52_9380.ts failed:bad http status code:404
2022-09-13 15:27:59.049 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167774-126(172.16.1.221:33435) end of file
2022-09-13 15:27:59.049 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167774-126(172.16.1.221:33435)
2022-09-13 15:27:59.052 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167775-126(172.16.1.221:43469)
2022-09-13 15:27:59.053 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320015143_34020000001320015143/2022-09-13/15/27-56_9381.ts failed:bad http status code:404
2022-09-13 15:27:59.053 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167775-126(172.16.1.221:43469) end of file
2022-09-13 15:27:59.053 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167775-126(172.16.1.221:43469)
2022-09-13 15:27:59.984 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167776-126(172.16.1.221:37509)
2022-09-13 15:27:59.985 W MediaServer[19467-event poller 6] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000404/2022-09-13/15/27-56_8544.ts failed:bad http status code:404
2022-09-13 15:27:59.985 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167776-126(172.16.1.221:37509) end of file
2022-09-13 15:27:59.985 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167776-126(172.16.1.221:37509)
2022-09-13 15:28:00.043 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167777-126(172.16.1.221:37677)
2022-09-13 15:28:00.044 W MediaServer[19467-event poller 2] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320015200_34020000001320015200/2022-09-13/15/27-55_9429.ts failed:bad http status code:404
2022-09-13 15:28:00.044 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167777-126(172.16.1.221:37677) end of file
2022-09-13 15:28:00.044 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167777-126(172.16.1.221:37677)
2022-09-13 15:28:00.046 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167778-126(172.16.1.221:42565)
2022-09-13 15:28:00.046 W MediaServer[19467-event poller 2] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320015200_34020000001320015200/2022-09-13/15/27-57_9430.ts failed:bad http status code:404
2022-09-13 15:28:00.047 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167778-126(172.16.1.221:42565) end of file
2022-09-13 15:28:00.047 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167778-126(172.16.1.221:42565)
2022-09-13 15:28:00.386 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167687-84(172.16.1.221:39967) session timeout
2022-09-13 15:28:00.386 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167687-84(172.16.1.221:39967)
2022-09-13 15:28:00.436 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167779-124(172.16.1.221:35607)
2022-09-13 15:28:00.436 W MediaServer[19467-event poller 7] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000413/2022-09-13/15/27-55_8992.ts failed:bad http status code:404
2022-09-13 15:28:00.437 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167779-124(172.16.1.221:35607) end of file
2022-09-13 15:28:00.437 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167779-124(172.16.1.221:35607)
2022-09-13 15:28:00.438 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167780-124(172.16.1.221:39989)
2022-09-13 15:28:00.438 W MediaServer[19467-event poller 7] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000413/2022-09-13/15/27-58_8993.ts failed:bad http status code:404
2022-09-13 15:28:00.438 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167780-124(172.16.1.221:39989) end of file
2022-09-13 15:28:00.438 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167780-124(172.16.1.221:39989)
2022-09-13 15:28:00.640 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167781-124(172.16.1.221:39513)
2022-09-13 15:28:00.641 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000405/2022-09-13/15/27-54_8235.ts failed:bad http status code:404
2022-09-13 15:28:00.641 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167781-124(172.16.1.221:39513) end of file
2022-09-13 15:28:00.641 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167781-124(172.16.1.221:39513)
2022-09-13 15:28:00.644 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167782-124(172.16.1.221:35881)
2022-09-13 15:28:00.645 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000405/2022-09-13/15/27-57_8236.ts failed:bad http status code:404
2022-09-13 15:28:00.645 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167782-124(172.16.1.221:35881) end of file
2022-09-13 15:28:00.645 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167782-124(172.16.1.221:35881)
2022-09-13 15:28:00.907 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167783-126(172.16.1.221:39069)
2022-09-13 15:28:00.907 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167784-130(172.16.1.221:36569)
2022-09-13 15:28:00.907 W MediaServer[19467-event poller 6] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320008585_34020000001320008585/2022-09-13/15/27-56_10271.ts failed:bad http status code:404
2022-09-13 15:28:00.907 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000408/2022-09-13/15/27-56_9114.ts failed:bad http status code:404
2022-09-13 15:28:00.908 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167783-126(172.16.1.221:39069) end of file
2022-09-13 15:28:00.908 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167783-126(172.16.1.221:39069)
2022-09-13 15:28:00.908 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167784-130(172.16.1.221:36569) end of file
2022-09-13 15:28:00.908 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167784-130(172.16.1.221:36569)
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167785-124(172.16.1.221:33047)
2022-09-13 15:28:00.909 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000408/2022-09-13/15/27-58_9115.ts failed:bad http status code:404
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167786-130(172.16.1.221:34451)
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167785-124(172.16.1.221:33047) end of file
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167785-124(172.16.1.221:33047)
2022-09-13 15:28:00.909 W MediaServer[19467-event poller 6] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320008585_34020000001320008585/2022-09-13/15/27-58_10272.ts failed:bad http status code:404
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167786-130(172.16.1.221:34451) end of file
2022-09-13 15:28:00.909 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167786-130(172.16.1.221:34451)
2022-09-13 15:28:00.950 T MediaServer[19467-event poller 6] HttpSession.cpp:27 HttpSession | 167787-124(172.16.1.221:45247)
2022-09-13 15:28:00.950 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000414/2022-09-13/15/27-57_10035.ts failed:bad http status code:404
2022-09-13 15:28:00.950 T MediaServer[19467-event poller 6] HttpSession.cpp:119 onError | 167787-124(172.16.1.221:45247) end of file
2022-09-13 15:28:00.950 T MediaServer[19467-event poller 6] HttpSession.cpp:33 ~HttpSession | 167787-124(172.16.1.221:45247)
2022-09-13 15:28:01.116 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167695-95(172.16.1.221:44339) session timeout
2022-09-13 15:28:01.117 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167695-95(172.16.1.221:44339)
2022-09-13 15:28:01.345 T MediaServer[19467-event poller 7] HttpSession.cpp:27 HttpSession | 167788-84(172.16.1.221:45287)
2022-09-13 15:28:01.345 W MediaServer[19467-event poller 4] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000407/2022-09-13/15/27-55_8294.ts failed:bad http status code:404
2022-09-13 15:28:01.345 T MediaServer[19467-event poller 7] HttpSession.cpp:119 onError | 167788-84(172.16.1.221:45287) end of file
2022-09-13 15:28:01.345 T MediaServer[19467-event poller 7] HttpSession.cpp:33 ~HttpSession | 167788-84(172.16.1.221:45287)
2022-09-13 15:28:01.773 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167789-88(172.16.1.221:34615)
2022-09-13 15:28:01.773 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000401/2022-09-13/15/27-57_8716.ts failed:bad http status code:404
2022-09-13 15:28:01.774 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167789-88(172.16.1.221:34615) end of file
2022-09-13 15:28:01.774 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167789-88(172.16.1.221:34615)
2022-09-13 15:28:01.775 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167790-88(172.16.1.221:45325)
2022-09-13 15:28:01.775 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000401/2022-09-13/15/27-59_8717.ts failed:bad http status code:404
2022-09-13 15:28:01.775 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167790-88(172.16.1.221:45325) end of file
2022-09-13 15:28:01.775 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167790-88(172.16.1.221:45325)
2022-09-13 15:28:01.915 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167791-88(172.16.1.221:45405)
2022-09-13 15:28:01.916 W MediaServer[19467-event poller 4] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001320066196_34020000001320066196/2022-09-13/15/27-53_5422.ts failed:bad http status code:404
2022-09-13 15:28:01.916 T MediaServer[19467-event poller 4] HttpSession.cpp:119 onError | 167791-88(172.16.1.221:45405) end of file
2022-09-13 15:28:01.916 T MediaServer[19467-event poller 4] HttpSession.cpp:33 ~HttpSession | 167791-88(172.16.1.221:45405)
2022-09-13 15:28:02.078 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167792-88(172.16.1.221:35297)
2022-09-13 15:28:02.079 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000402/2022-09-13/15/27-54_9049.ts failed:bad http status code:404
2022-09-13 15:28:02.079 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167792-88(172.16.1.221:35297) end of file
2022-09-13 15:28:02.079 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167792-88(172.16.1.221:35297)
2022-09-13 15:28:02.083 T MediaServer[19467-event poller 1] HttpSession.cpp:27 HttpSession | 167793-88(172.16.1.221:37609)
2022-09-13 15:28:02.083 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/34020000001110000040_34020000001310000402/2022-09-13/15/27-58_9050.ts failed:bad http status code:404
2022-09-13 15:28:02.083 T MediaServer[19467-event poller 1] HttpSession.cpp:119 onError | 167793-88(172.16.1.221:37609) end of file
2022-09-13 15:28:02.083 T MediaServer[19467-event poller 1] HttpSession.cpp:33 ~HttpSession | 167793-88(172.16.1.221:37609)
2022-09-13 15:28:02.212 T MediaServer[19467-event poller 4] HttpSession.cpp:27 HttpSession | 167794-88(172.16.1.221:42135)
2022-09-13 15:28:02.213 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167795-124(172.16.1.221:38637)
2022-09-13 15:28:02.214 W MediaServer[19467-event poller 3] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44010200491320000066_44010200491340006666/2022-09-13/15/27-37_1791.ts failed:bad http status code:404
2022-09-13 15:28:02.214 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167795-124(172.16.1.221:38637) end of file
2022-09-13 15:28:02.214 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167795-124(172.16.1.221:38637)
2022-09-13 15:28:02.586 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167796-124(172.16.1.221:32823)
2022-09-13 15:28:02.586 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44020000001320000001_44020000001320000001/2022-09-13/15/27-57_8224.ts failed:bad http status code:404
2022-09-13 15:28:02.586 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167796-124(172.16.1.221:32823) end of file
2022-09-13 15:28:02.586 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167796-124(172.16.1.221:32823)
2022-09-13 15:28:02.588 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167797-124(172.16.1.221:39453)
2022-09-13 15:28:02.588 W MediaServer[19467-event poller 0] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44020000001320000001_44020000001320000001/2022-09-13/15/27-59_8225.ts failed:bad http status code:404
2022-09-13 15:28:02.588 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167797-124(172.16.1.221:39453) end of file
2022-09-13 15:28:02.588 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167797-124(172.16.1.221:39453)
2022-09-13 15:28:02.824 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167798-124(172.16.1.221:37711)
2022-09-13 15:28:02.826 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167799-130(172.16.1.221:43303)
2022-09-13 15:28:02.826 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44010200491320000066_44010200491320006666/2022-09-13/15/27-37_1806.ts failed:bad http status code:404
2022-09-13 15:28:02.826 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167799-130(172.16.1.221:43303) end of file
2022-09-13 15:28:02.826 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167799-130(172.16.1.221:43303)
2022-09-13 15:28:02.838 T MediaServer[19467-event poller 2] HttpSession.cpp:27 HttpSession | 167800-130(172.16.1.221:45909)
2022-09-13 15:28:02.838 W MediaServer[19467-event poller 1] HlsPlayer.cpp:121 operator() | download ts segment http://172.16.1.221:8080/rtp/44010200491320000066_44010200491320006666/2022-09-13/15/27-49_1807.ts failed:bad http status code:404
2022-09-13 15:28:02.838 T MediaServer[19467-event poller 2] HttpSession.cpp:119 onError | 167800-130(172.16.1.221:45909) end of file
2022-09-13 15:28:02.838 T MediaServer[19467-event poller 2] HttpSession.cpp:33 ~HttpSession | 167800-130(172.16.1.221:45909)
2022-09-13 15:28:05.693 W MediaServer[19464-MediaServer] System.cpp:132 startDaemon | 子进程退出
2022-09-13 15:28:08.694 D MediaServer[19464-MediaServer] System.cpp:122 startDaemon | 启动子进程:9575
2022-09-13 15:28:08.694 I MediaServer[9575-MediaServer] System.cpp:154 systemSetup | core文件大小设置为:18446744073709551615
2022-09-13 15:28:08.694 I MediaServer[9575-MediaServer] System.cpp:163 systemSetup | 文件最大描述符个数设置为:1048576
2022-09-13 15:28:08.710 D MediaServer[9575-stamp thread] util.cpp:366 operator() | Stamp thread started!
2022-09-13 15:28:08.712 I MediaServer[9575-MediaServer] EventPoller.cpp:461 EventPollerPool | 创建EventPoller个数:8
2022-09-13 15:28:08.712 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:554
2022-09-13 15:28:08.713 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:332
2022-09-13 15:28:08.713 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:1935
2022-09-13 15:28:08.713 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:19350
2022-09-13 15:28:08.714 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:8080
2022-09-13 15:28:08.714 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:443
2022-09-13 15:28:08.715 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:9000
2022-09-13 15:28:08.715 I MediaServer[9575-MediaServer] TcpServer.cpp:199 start_l | TCP Server listening on [::]:10000
2022-09-13 15:28:08.716 I MediaServer[9575-MediaServer] UdpServer.cpp:104 start_l | UDP Server bind to [::]:10000
2022-09-13 15:28:08.716 I MediaServer[9575-MediaServer] main.cpp:361 start_main | 已启动http api 接口
2022-09-13 15:28:08.717 I MediaServer[9575-MediaServer] main.cpp:363 start_main | 已启动http hook 接口
2022-09-13 15:28:08.732 T MediaServer[9575-event poller 2] HttpSession.cpp:27 HttpSession | 1-38(172.16.1.38:37964)
2022-09-13 15:28:08.733 D MediaServer[9575-event poller 2] WebApi.cpp:249 http api debug |
# request:
POST /index/api/setServerConfig
# header:
Accept-Encoding : gzip
Connection : Keep-Alive
Content-Length : 1603
Content-Type : application/x-www-form-urlencoded
Host : 172.16.1.221:8080
User-Agent : okhttp/4.9.0
# content:
secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&general.streamNoneReaderDelayMS=10000&hook.on_rtsp_realm=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_rtsp_realm&hook.on_stream_changed=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_stream_changed&hook.on_flow_report=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_flow_report&hook.on_publish=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_publish&general.continue_push_ms=3000&ffmpeg.cmd=%25s%20-fflags%20nobuffer%20-i%20%25s%20-c%3Aa%20aac%20-strict%20-2%20-ar%2044100%20-ab%2048k%20-c%3Av%20libx264%20%20-f%20flv%20%25s&hook.timeoutSec=20&hook.enable=1&hook.on_http_access=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_http_access&hook.on_stream_not_found=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_stream_not_found&general.wait_track_ready_ms=3000&rtp_proxy.port_range=30000-40000&hook.on_rtsp_auth=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_rtsp_auth&hook.on_record_mp4=http%3A%2F%2F127.0.0.1%3A18081%2Fapi%2Frecord%2Fon_record_mp4&hook.on_stream_none_reader=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_stream_none_reader&hook.on_server_keepalive=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_server_keepalive&hook.on_shell_login=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_shell_login&hook.on_play=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_play&api.secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc&hook.on_server_started=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_server_started&hook.on_record_ts=http%3A%2F%2F172.16.1.38%3A18080%2Findex%2Fhook%2Fon_record_ts
# response:
{
"changed" : 0,
"code" : 0
}
2022-09-13 15:28:08.741 T MediaServer[9575-event poller 5] HttpSession.cpp:27 HttpSession | 2-37(172.16.1.38:37966)
2022-09-13 15:28:08.741 D MediaServer[9575-event poller 5] WebApi.cpp:249 http api debug |
# request:
POST /index/api/getMediaList
# header:
Accept-Encoding : gzip
Connection : Keep-Alive
Content-Length : 43
Content-Type : application/x-www-form-urlencoded
Host : 172.16.1.221:8080
User-Agent : okhttp/4.9.0
# content:
secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
# response:
{
"code" : 0
}
2022-09-13 15:28:08.752 T MediaServer[9575-event poller 6] HttpSession.cpp:27 HttpSession | 3-48(172.16.1.38:37968)
2022-09-13 15:28:08.753 T MediaServer[9575-event poller 6] HttpSession.cpp:27 HttpSession | 4-50(172.16.1.221:46753)
2022-09-13 15:28:13.752 T MediaServer[9575-event poller 6] HttpSession.cpp:119 onError | 3-48(172.16.1.38:37968) end of file
2022-09-13 15:28:13.752 T MediaServer[9575-event poller 6] HttpSession.cpp:33 ~HttpSession | 3-48(172.16.1.38:37968)
2022-09-13 15:28:13.756 T MediaServer[9575-event poller 6] HttpSession.cpp:27 HttpSession | 5-48(172.16.1.38:37970)
2022-09-13 15:28:13.756 D MediaServer[9575-event poller 6] WebApi.cpp:249 http api debug |
</pre>
</details>
### 配置
<!--
部分常见问题是由于配置错误导致的, 建议仔细阅读配置文件中的注释信息
替换下面的 "配置内容..." 为实际配置内容.
-->
<details>
<summary>展开查看详细配置</summary>
<pre>
; auto-generated by mINI class {
[api]
apiDebug=1
defaultSnap=/data/www/logo.png
secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
snapRoot=/data/www/snap/
[cluster]
origin_url=
retry_count=3
timeout_sec=15
[ffmpeg]
bin=/usr/local/ffmpeg/bin/ffmpeg
cmd=%s -fflags nobuffer -i %s -c:a aac -strict -2 -ar 44100 -ab 48k -c:v libx264 -f flv %s
log=./ffmpeg/ffmpeg.log
restart_sec=0
snap=%s -i %s -y -f mjpeg -t 0.001 %s
[general]
addMuteAudio=1
check_nvidia_dev=1
continue_push_ms=3000
enableVhost=0
enable_audio=1
enable_ffmpeg_log=0
flowThreshold=1024
fmp4_demand=0
hls_demand=0
maxStreamWaitMS=15000
mediaServerId=CmuMH3CyPy2aRhlp
mergeWriteMS=0
modifyStamp=1
publishToHls=1
publishToMP4=0
resetWhenRePlay=1
rtmp_demand=0
rtsp_demand=0
streamNoneReaderDelayMS=10000
ts_demand=0
unready_frame_cache=100
wait_add_track_ms=3000
wait_track_ready_ms=3000
[hls]
broadcastRecordTs=0
deleteDelaySec=0
fileBufSize=65536
filePath=/data/www
segDur=2
segKeep=0
segNum=3
segRetain=5
[hook]
admin_params=secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
alive_interval=30.000000
enable=1
on_close_broadcast=http://172.16.1.38:18080/index/hook/on_close_broadcast
on_flow_report=http://172.16.1.38:18080/index/hook/on_flow_report
on_http_access=http://172.16.1.38:18080/index/hook/on_http_access
on_play=http://172.16.1.38:18080/index/hook/on_play
on_publish=http://172.16.1.38:18080/index/hook/on_publish
on_record_mp4=http://127.0.0.1:18081/api/record/on_record_mp4
on_record_ts=http://172.16.1.38:18080/index/hook/on_record_ts
on_rtsp_auth=http://172.16.1.38:18080/index/hook/on_rtsp_auth
on_rtsp_realm=http://172.16.1.38:18080/index/hook/on_rtsp_realm
on_server_keepalive=http://172.16.1.38:18080/index/hook/on_server_keepalive
on_server_started=http://172.16.1.38:18080/index/hook/on_server_started
on_shell_login=http://172.16.1.38:18080/index/hook/on_shell_login
on_stream_changed=http://172.16.1.38:18080/index/hook/on_stream_changed
on_stream_none_reader=http://172.16.1.38:18080/index/hook/on_stream_none_reader
on_stream_not_found=http://172.16.1.38:18080/index/hook/on_stream_not_found
retry=1
retry_delay=3.000000
timeoutSec=20
[http]
charSet=utf-8
dirMenu=0
forbidCacheSuffix=
forwarded_ip_header=
keepAliveSecond=15
maxReqSize=40960
notFound=<html><head><title>404 Not Found</title></head><body bgcolor="white"><center><h1>您访问的资源不存在!</h1></center><hr><center>ZLMediaKit(git hash:098bd31,branch:master,build time:Sep 13 2022 08:44:12)</center></body></html>
port=8080
rootPath=/data/www/record
sendBufSize=65536
sslport=443
virtualPath=
[multicast]
addrMax=239.255.255.255
addrMin=239.0.0.0
udpTTL=64
[record]
appName=record
fastStart=0
fileBufSize=65536
filePath=/data/www
fileRepeat=0
fileSecond=3600
mp4_as_player=0
sampleMS=500
[rtc]
preferredCodecA=PCMU,PCMA,opus,mpeg4-generic
preferredCodecV=H264,H265,AV1X,VP9,VP8
[rtmp]
handshakeSecond=15
keepAliveSecond=15
modifyStamp=0
port=1935
sslport=19350
[rtp]
audioMtuSize=600
rtpMaxSize=10
videoMtuSize=1400
[rtp_proxy]
dumpDir=
g711a_pt=8
g711u_pt=0
h264_pt=98
h265_pt=99
opus_pt=100
port=10000
port_range=30000-40000
ps_pt=96
timeoutSec=15
ts_pt=33
[rtsp]
authBasic=0
directProxy=1
handshakeSecond=15
keepAliveSecond=15
port=554
sslport=332
[shell]
maxReqSize=1024
port=9000
[srt]
port=
; } ---
</pre>
</details>
### 各种环境信息
<!--
请填写相关环境信息, 详细的环境信息有助于快速复现定位问题.
* 代码提交记录, 可使用命令 `git rev-parse HEAD` 进行查看.
* 操作系统及版本, 如: Windows 10, CentOS 7, ...
* 硬件信息, 如: Intel, AMD, ARM, 飞腾, 龙芯, ...
-->
* **代码提交记录/git commit hash**:098bd319ab51dc4b9a230512ca3a1a2e21d39464
* **操作系统及版本**:Linux version 5.4.0-124-generic (buildd@lcy02-amd64-019) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04))18.04.1-Ubuntu SMP Fri Aug 5 11:43:34 UTC 2022
* **硬件信息**:
* **其他需要补充的信息**:通过加打印日志查发现都是在media-server库的接口里面崩溃,开始怀疑的就是mpeg_packet_append接口里面是否是memcpy对pkt的操作越界了,但是看代码在上面realloc是给了足够的内存的,所以目前也看不出哪里有问题,请大佬帮忙
04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]