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

Kernel: Never depends on another globals for global variables

This commit is contained in:
winlin 2021-02-25 14:06:18 +08:00
parent d8ba72fdc5
commit 6dac180627
11 changed files with 88 additions and 76 deletions

View file

@ -46,9 +46,9 @@ using namespace std;
#include <srs_protocol_utility.hpp>
extern SrsPps* _srs_pps_rpkts;
SrsPps* _srs_pps_rstuns = new SrsPps(_srs_clock);
SrsPps* _srs_pps_rrtps = new SrsPps(_srs_clock);
SrsPps* _srs_pps_rrtcps = new SrsPps(_srs_clock);
SrsPps* _srs_pps_rstuns = new SrsPps();
SrsPps* _srs_pps_rrtps = new SrsPps();
SrsPps* _srs_pps_rrtcps = new SrsPps();
extern SrsPps* _srs_pps_addrs;
extern SrsPps* _srs_pps_fast_addrs;