mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix reload ingest bug, remove when disabled. 0.9.196
This commit is contained in:
parent
2f5fa25f29
commit
cf7504826b
10 changed files with 1116 additions and 76 deletions
|
@ -33,8 +33,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include <srs_app_log.hpp>
|
||||
|
||||
#define __UTEST_DEV
|
||||
#undef __UTEST_DEV
|
||||
|
||||
// enable all utest.
|
||||
#if 1
|
||||
#ifndef __UTEST_DEV
|
||||
#define ENABLE_UTEST_AMF0
|
||||
#define ENABLE_UTEST_CONFIG
|
||||
#define ENABLE_UTEST_CORE
|
||||
|
@ -44,7 +47,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#endif
|
||||
|
||||
// disable some for fast dev, compile and startup.
|
||||
#if 0
|
||||
#ifdef __UTEST_DEV
|
||||
#undef ENABLE_UTEST_AMF0
|
||||
#undef ENABLE_UTEST_CONFIG
|
||||
#undef ENABLE_UTEST_CORE
|
||||
|
@ -53,6 +56,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#undef ENABLE_UTEST_RELOAD
|
||||
#endif
|
||||
|
||||
#ifdef __UTEST_DEV
|
||||
#define ENABLE_UTEST_RELOAD
|
||||
#endif
|
||||
|
||||
// we add an empty macro for upp to show the smart tips.
|
||||
#define VOID
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue