1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add ingest config

This commit is contained in:
winlin 2014-04-07 13:13:57 +08:00
parent 9107831b0e
commit 92281548b6
10 changed files with 179 additions and 9 deletions

View file

@ -373,7 +373,7 @@ int SrsServer::listen()
return ret;
}
int SrsServer::cycle()
int SrsServer::ingest()
{
int ret = ERROR_SUCCESS;
@ -383,6 +383,13 @@ int SrsServer::cycle()
return ret;
}
#endif
return ret;
}
int SrsServer::cycle()
{
int ret = ERROR_SUCCESS;
// the deamon thread, update the time cache
while (true) {