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

Refine srs_update_system_time in time unit

This commit is contained in:
winlin 2019-04-10 09:07:03 +08:00
parent 9b7c0802a9
commit 6c12aa0eca
26 changed files with 123 additions and 108 deletions

View file

@ -33,6 +33,7 @@
#include <srs_app_st.hpp>
#include <srs_app_reload.hpp>
#include <srs_core_performance.hpp>
#include <srs_core_time.hpp>
class SrsFormat;
class SrsRtmpFormat;
@ -606,7 +607,7 @@ private:
bool _can_publish;
// The last die time, when all consumers quit and no publisher,
// we will remove the source when source die.
int64_t die_at;
srs_utime_t die_at;
public:
SrsSource();
virtual ~SrsSource();