mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #191: configure --export-librtmp-project and --export-librtmp-single. 2.0.11.
This commit is contained in:
parent
e62c3a4e0e
commit
3405f35d06
9 changed files with 329 additions and 162 deletions
|
@ -30,10 +30,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include <sstream>
|
||||
using namespace std;
|
||||
|
||||
// undefine the log of librtmp for the srs use its log.
|
||||
#undef srs_trace
|
||||
#undef srs_verbose
|
||||
|
||||
#include <srs_kernel_error.hpp>
|
||||
#include <srs_protocol_rtmp.hpp>
|
||||
#include <srs_lib_simple_socket.hpp>
|
||||
|
@ -48,7 +44,7 @@ using namespace std;
|
|||
#include <srs_kernel_file.hpp>
|
||||
#include <srs_lib_bandwidth.hpp>
|
||||
|
||||
// if user want to define log, define the folowing macro.
|
||||
// if want to use your log, define the folowing macro.
|
||||
#ifndef SRS_RTMP_USER_DEFINED_LOG
|
||||
// kernel module.
|
||||
ISrsLog* _srs_log = new ISrsLog();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue