mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #742, use ms for application clock tbn.
This commit is contained in:
parent
dca9749f37
commit
3fe338d1c5
43 changed files with 437 additions and 435 deletions
|
@ -37,11 +37,11 @@ using namespace std;
|
|||
#include <srs_protocol_utility.hpp>
|
||||
|
||||
// when error, ng-exec sleep for a while and retry.
|
||||
#define SRS_RTMP_EXEC_SLEEP_US (int64_t)(3*1000*1000LL)
|
||||
#define SRS_RTMP_EXEC_CIMS (3000)
|
||||
|
||||
SrsNgExec::SrsNgExec()
|
||||
{
|
||||
pthread = new SrsReusableThread("encoder", this, SRS_RTMP_EXEC_SLEEP_US);
|
||||
pthread = new SrsReusableThread("encoder", this, SRS_RTMP_EXEC_CIMS);
|
||||
pprint = SrsPithyPrint::create_exec();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue