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
|
|
@ -216,7 +216,7 @@ int SrsIngestHlsInput::connect()
|
|||
int64_t now = srs_update_system_time_ms();
|
||||
if (now < next_connect_time) {
|
||||
srs_trace("input hls wait for %dms", next_connect_time - now);
|
||||
st_usleep((next_connect_time - now) * 1000);
|
||||
srs_usleep((next_connect_time - now) * 1000);
|
||||
}
|
||||
|
||||
// set all ts to dirty.
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ using namespace std;
|
|||
#include <gperftools/profiler.h>
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
using namespace std;
|
||||
|
||||
#include <srs_kernel_error.hpp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue