mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine the global variables.
This commit is contained in:
parent
b06203e777
commit
2d387035cd
6 changed files with 42 additions and 39 deletions
|
@ -124,10 +124,10 @@ public:
|
|||
virtual int set_id(int v);
|
||||
};
|
||||
|
||||
// user must provides a log object
|
||||
// @global user must provides a log object
|
||||
extern ISrsLog* _srs_log;
|
||||
|
||||
// user must implements the LogContext and define a global instance.
|
||||
// @global user must implements the LogContext and define a global instance.
|
||||
extern ISrsThreadContext* _srs_context;
|
||||
|
||||
// donot print method
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue