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

Modules: Enable app files for module

This commit is contained in:
winlin 2021-04-21 11:03:37 +08:00
parent aa07f45545
commit b29827d22c
3 changed files with 10 additions and 2 deletions

View file

@ -29,6 +29,7 @@
#include <srs_kernel_file.hpp>
#include <srs_kernel_stream.hpp>
#include <srs_core_autofree.hpp>
#include <srs_app_config.hpp>
#include <stdio.h>
#include <stdlib.h>
@ -40,6 +41,9 @@ using namespace std;
ISrsLog* _srs_log = new SrsConsoleLog(SrsLogLevelTrace, false);
ISrsContext* _srs_context = new SrsThreadContext();
// @global config object for app module.
SrsConfig* _srs_config = new SrsConfig();
srs_error_t parse(std::string mp4_file, bool verbose)
{
srs_error_t err = srs_success;