mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #907, Wrap ST, only use in service ST.
This commit is contained in:
parent
54411e0768
commit
1bf99e8f3e
49 changed files with 340 additions and 513 deletions
|
@ -232,7 +232,7 @@ int SrsEdgeIngester::cycle()
|
|||
}
|
||||
|
||||
if (!trd->pull()) {
|
||||
st_usleep(SRS_EDGE_INGESTER_CIMS * 1000);
|
||||
srs_usleep(SRS_EDGE_INGESTER_CIMS * 1000);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
@ -517,7 +517,7 @@ int SrsEdgeForwarder::cycle()
|
|||
}
|
||||
|
||||
if (!trd->pull()) {
|
||||
st_usleep(SRS_EDGE_FORWARDER_CIMS * 1000);
|
||||
srs_usleep(SRS_EDGE_FORWARDER_CIMS * 1000);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
|
@ -538,7 +538,7 @@ int SrsEdgeForwarder::do_cycle()
|
|||
|
||||
while (!trd->pull()) {
|
||||
if (send_error_code != ERROR_SUCCESS) {
|
||||
st_usleep(SRS_EDGE_FORWARDER_TMMS * 1000);
|
||||
srs_usleep(SRS_EDGE_FORWARDER_TMMS * 1000);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue