正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -231,6 +231,8 @@ int SrsRtmpConn::service_cycle() | @@ -231,6 +231,8 @@ int SrsRtmpConn::service_cycle() | ||
231 | // for "some" system control error, | 231 | // for "some" system control error, |
232 | // logical accept and retry stream service. | 232 | // logical accept and retry stream service. |
233 | if (ret == ERROR_CONTROL_RTMP_CLOSE) { | 233 | if (ret == ERROR_CONTROL_RTMP_CLOSE) { |
234 | + // TODO: FIXME: use ping message to anti-death of socket. | ||
235 | + // @see: https://github.com/winlinvip/simple-rtmp-server/issues/39 | ||
234 | // set timeout to a larger value, for user paused. | 236 | // set timeout to a larger value, for user paused. |
235 | rtmp->set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US); | 237 | rtmp->set_recv_timeout(SRS_PAUSED_RECV_TIMEOUT_US); |
236 | rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US); | 238 | rtmp->set_send_timeout(SRS_PAUSED_SEND_TIMEOUT_US); |
-
请 注册 或 登录 后发表评论