ZLMediaKit / ZLMediaKit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11
https://docs.zlmediakit.com
Other
14.58k stars 3.55k forks source link

[BUG] 使用startSendRtp进行推流成功后,在关闭,关闭成功,在打开进行startSendRtp也成功,但是日志会大量报错如下图 #4089

Closed IOTWord closed 1 month ago

IOTWord commented 1 month ago

现象描述

我使用startSendRtp进行推流,推到另一个服务器上,一次播放是成功的【从开始startSendRtp到关闭stopSendRtp】,但是第一次的成功关闭后,在此打开这个流也是能成功播放但是日志会大量出现Socket not set read callback, data ignored: 452

如何复现?

相关日志或截图

2024-12-30 10:13:28.755 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 304 2024-12-30 10:13:28.755 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 516 2024-12-30 10:13:28.755 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 304 2024-12-30 10:13:28.755 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 516 2024-12-30 10:13:28.835 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 304 2024-12-30 10:13:28.835 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 748 2024-12-30 10:13:28.835 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 304 2024-12-30 10:13:28.835 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 748 2024-12-30 10:13:28.874 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 288 2024-12-30 10:13:28.874 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 288 2024-12-30 10:13:28.913 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 852 2024-12-30 10:13:28.913 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 852 2024-12-30 10:13:28.957 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 284 2024-12-30 10:13:28.957 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 648 2024-12-30 10:13:28.957 W [MediaServer.exe] [24904-event poller 11] Socket.cpp:101 operator () | Socket not set read callback, data ignored: 284

展开查看详细日志

```
#详细日志粘在这里!
```

详细日志文件 ZLM日志异常.txt

配置

展开查看详细配置

```ini
#config.ini内容粘在这里!
```

各种环境信息

xia-chu commented 1 month ago

This is normal, the other party does not know what data was returned.

这个是正常的 对方不知道回了些什么数据

TRANS_BY_GITHUB_AI_ASSISTANT

IOTWord commented 1 month ago

是正常的 对方不知道回了些什

Are you referring to the device?

是正常的 对方不知道回了些什

您说这个对方是指 设备?

TRANS_BY_GITHUB_AI_ASSISTANT

xia-chu commented 1 month ago

您说这个对方是指 设备?

You call startSendRtp to send to the target address

您说这个对方是指 设备?

你调用startSendRtp发送到的目标地址

TRANS_BY_GITHUB_AI_ASSISTANT