mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #237, add name for thread. 2.0.47
This commit is contained in:
parent
c083238760
commit
c457364321
9 changed files with 30 additions and 26 deletions
|
@ -36,7 +36,7 @@ using namespace std;
|
|||
|
||||
// when error, ingester sleep for a while and retry.
|
||||
// ingest never sleep a long time, for we must start the stream ASAP.
|
||||
#define SRS_AUTO_INGESTER_SLEEP_US (int64_t)(6*100*1000LL)
|
||||
#define SRS_AUTO_INGESTER_SLEEP_US (int64_t)(3*1000*1000LL)
|
||||
|
||||
SrsIngesterFFMPEG::SrsIngesterFFMPEG(SrsFFMPEG* _ffmpeg, string _vhost, string _id)
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ SrsIngester::SrsIngester()
|
|||
{
|
||||
_srs_config->subscribe(this);
|
||||
|
||||
pthread = new SrsThread(this, SRS_AUTO_INGESTER_SLEEP_US, true);
|
||||
pthread = new SrsThread("ingest", this, SRS_AUTO_INGESTER_SLEEP_US, true);
|
||||
pithy_print = new SrsPithyPrint(SRS_CONSTS_STAGE_INGESTER);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue