mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine hls ingester, quit when error.
This commit is contained in:
parent
aabe84046c
commit
7b157b0678
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ int proxy_hls2rtmp(string hls, string rtmp)
|
|||
|
||||
SrsIngestSrsContext context(&hls_uri, &rtmp_uri);
|
||||
for (;;) {
|
||||
if ((ret = context.proxy()) == ERROR_SUCCESS) {
|
||||
if ((ret = context.proxy()) != ERROR_SUCCESS) {
|
||||
srs_error("proxy hls to rtmp failed. ret=%d", ret);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue