mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
donot install tools when ffmpeg is not open, 0.9.108
This commit is contained in:
parent
5bb6e657c3
commit
2265173c4d
5 changed files with 125 additions and 85 deletions
|
@ -35,6 +35,7 @@ using namespace std;
|
|||
#include <srs_protocol_utility.hpp>
|
||||
#include <srs_core_autofree.hpp>
|
||||
#include <srs_protocol_rtmp_stack.hpp>
|
||||
#include <srs_kernel_utility.hpp>
|
||||
|
||||
// if user want to define log, define the folowing macro.
|
||||
#ifndef SRS_RTMP_USER_DEFINED_LOG
|
||||
|
@ -399,6 +400,12 @@ int srs_version_revision()
|
|||
return ::atoi(VERSION_REVISION);
|
||||
}
|
||||
|
||||
int64_t srs_get_time_ms()
|
||||
{
|
||||
srs_update_system_time_ms();
|
||||
return srs_get_system_time_ms();
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue