正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -1393,7 +1393,7 @@ int proxy_hls2rtmp(string hls, string rtmp) | @@ -1393,7 +1393,7 @@ int proxy_hls2rtmp(string hls, string rtmp) | ||
1393 | 1393 | ||
1394 | SrsIngestSrsContext context(&hls_uri, &rtmp_uri); | 1394 | SrsIngestSrsContext context(&hls_uri, &rtmp_uri); |
1395 | for (;;) { | 1395 | for (;;) { |
1396 | - if ((ret = context.proxy()) == ERROR_SUCCESS) { | 1396 | + if ((ret = context.proxy()) != ERROR_SUCCESS) { |
1397 | srs_error("proxy hls to rtmp failed. ret=%d", ret); | 1397 | srs_error("proxy hls to rtmp failed. ret=%d", ret); |
1398 | return ret; | 1398 | return ret; |
1399 | } | 1399 | } |
-
请 注册 或 登录 后发表评论