正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -316,6 +316,10 @@ int SrsForwarder::forward() | @@ -316,6 +316,10 @@ int SrsForwarder::forward() | ||
316 | ret = client->send_message(msg); | 316 | ret = client->send_message(msg); |
317 | if (ret != ERROR_SUCCESS) { | 317 | if (ret != ERROR_SUCCESS) { |
318 | srs_error("forwarder send message to server failed. ret=%d", ret); | 318 | srs_error("forwarder send message to server failed. ret=%d", ret); |
319 | + | ||
320 | + // convert the index to count when error. | ||
321 | + i++; | ||
322 | + | ||
319 | break; | 323 | break; |
320 | } | 324 | } |
321 | } | 325 | } |
-
请 注册 或 登录 后发表评论