Feature: adjust header file

pull/221/head
xufuji456 2 years ago
parent 9a990b5e17
commit 6d64973d28
  1. 2
      Live/CMakeLists.txt
  2. 2
      Live/src/main/cpp/AudioStream.h
  3. 2
      Live/src/main/cpp/VideoStream.h

@ -30,7 +30,7 @@ set_target_properties(x264
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11")
include_directories(main/cpp/include) include_directories(src/main/cpp/include)
add_library(live add_library(live
SHARED SHARED

@ -3,7 +3,7 @@
#define AUDIOSTREAM_H #define AUDIOSTREAM_H
#include "rtmp/rtmp.h" #include "rtmp/rtmp.h"
#include "include/faac/faac.h" #include "faac/faac.h"
#include <sys/types.h> #include <sys/types.h>
class AudioStream { class AudioStream {

@ -5,7 +5,7 @@
#include <inttypes.h> #include <inttypes.h>
#include <mutex> #include <mutex>
#include "rtmp/rtmp.h" #include "rtmp/rtmp.h"
#include "include/x264/x264.h" #include "x264/x264.h"
class VideoStream { class VideoStream {
typedef void (*VideoCallback)(RTMPPacket *packet); typedef void (*VideoCallback)(RTMPPacket *packet);

Loading…
Cancel
Save