调整目录结构

This commit is contained in:
xiongziliang 2017-05-02 17:15:12 +08:00
parent 08387d5836
commit 4a021e17bc
26 changed files with 28 additions and 28 deletions

View File

@ -18,8 +18,8 @@ RM := rm -rf
-include src/Http/subdir.mk -include src/Http/subdir.mk
-include src/H264/subdir.mk -include src/H264/subdir.mk
-include src/Device/subdir.mk -include src/Device/subdir.mk
-include src/Common/subdir.mk
-include src/Codec/subdir.mk -include src/Codec/subdir.mk
-include src/subdir.mk
-include subdir.mk -include subdir.mk
-include objects.mk -include objects.mk

View File

@ -24,6 +24,7 @@ CPP_DEPS :=
# Every subdirectory with source files must be described here # Every subdirectory with source files must be described here
SUBDIRS := \ SUBDIRS := \
src/Codec \ src/Codec \
src/Common \
src/Device \ src/Device \
src/H264 \ src/H264 \
src/Http \ src/Http \
@ -33,6 +34,5 @@ src/RTP \
src/Rtmp \ src/Rtmp \
src/Rtsp \ src/Rtsp \
src/Shell \ src/Shell \
src \
test \ test \

View File

@ -1,4 +1,4 @@
#include "config.h" #include "Common/config.h"
#include "Util/util.h" #include "Util/util.h"
#include "Util/onceToken.h" #include "Util/onceToken.h"
#include "Network/sockutil.h" #include "Network/sockutil.h"

View File

@ -5,7 +5,7 @@
* Author: xzl * Author: xzl
*/ */
#include "config.h" #include "Common/config.h"
#include "PlayerProxy.h" #include "PlayerProxy.h"
#include "Util/mini.h" #include "Util/mini.h"
#include "Util/MD5.h" #include "Util/MD5.h"

View File

@ -10,7 +10,7 @@
#include <algorithm> #include <algorithm>
#include <dirent.h> #include <dirent.h>
#include "config.h" #include "Common/config.h"
#include "strCoding.h" #include "strCoding.h"
#include "HttpSession.h" #include "HttpSession.h"
#include "Util/File.h" #include "Util/File.h"

View File

@ -9,7 +9,7 @@
#define SRC_HTTP_HTTPSESSION_H_ #define SRC_HTTP_HTTPSESSION_H_
#include <functional> #include <functional>
#include "config.h" #include "Common/config.h"
#include "Rtsp/Rtsp.h" #include "Rtsp/Rtsp.h"
#include "Network/TcpLimitedSession.h" #include "Network/TcpLimitedSession.h"

View File

@ -9,7 +9,7 @@
#define HLSMAKER_H_ #define HLSMAKER_H_
#include "TSMaker.h" #include "TSMaker.h"
#include "config.h" #include "Common/config.h"
#include "Util/TimeTicker.h" #include "Util/TimeTicker.h"
#include "Util/File.h" #include "Util/File.h"
#include "Util/util.h" #include "Util/util.h"

View File

@ -6,7 +6,7 @@
*/ */
#include "MediaReader.h" #include "MediaReader.h"
#include "config.h" #include "Common/config.h"
#include "Util/mini.h" #include "Util/mini.h"
#include "Http/HttpSession.h" #include "Http/HttpSession.h"

View File

@ -6,7 +6,7 @@
*/ */
#include "MediaRecorder.h" #include "MediaRecorder.h"
#include "config.h" #include "Common/config.h"
#include "Http/HttpSession.h" #include "Http/HttpSession.h"
#include "Util/util.h" #include "Util/util.h"
#include "Util/mini.h" #include "Util/mini.h"

View File

@ -3,7 +3,7 @@
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/stat.h> #include <sys/stat.h>
#include "config.h" #include "Common/config.h"
#include "Mp4Maker.h" #include "Mp4Maker.h"
#include "MediaRecorder.h" #include "MediaRecorder.h"
#include "Util/File.h" #include "Util/File.h"

View File

@ -6,7 +6,7 @@
*/ */
#include <netinet/in.h> #include <netinet/in.h>
#include "config.h" #include "Common/config.h"
#include "RtpMakerAAC.h" #include "RtpMakerAAC.h"
#include "Util/mini.h" #include "Util/mini.h"

View File

@ -6,7 +6,7 @@
*/ */
#include <netinet/in.h> #include <netinet/in.h>
#include "config.h" #include "Common/config.h"
#include "RtpMakerH264.h" #include "RtpMakerH264.h"
#include "Util/mini.h" #include "Util/mini.h"

View File

@ -16,8 +16,8 @@
#include <unordered_map> #include <unordered_map>
#include "amf.h" #include "amf.h"
#include "Rtmp.h" #include "Rtmp.h"
#include "config.h" #include "Common/config.h"
#include "MediaSender.h" #include "Common/MediaSender.h"
#include "Util/util.h" #include "Util/util.h"
#include "Util/logger.h" #include "Util/logger.h"
#include "Util/RingBuffer.h" #include "Util/RingBuffer.h"

View File

@ -10,7 +10,7 @@
#include <memory> #include <memory>
#include <functional> #include <functional>
#include "config.h" #include "Common/config.h"
#include "RtmpPlayer.h" #include "RtmpPlayer.h"
#include "RtmpParser.h" #include "RtmpParser.h"
#include "Poller/Timer.h" #include "Poller/Timer.h"

View File

@ -13,7 +13,7 @@
#include "amf.h" #include "amf.h"
#include "Rtmp.h" #include "Rtmp.h"
#include "utils.h" #include "utils.h"
#include "config.h" #include "Common/config.h"
#include "RtmpProtocol.h" #include "RtmpProtocol.h"
#include "RtmpToRtspMediaSource.h" #include "RtmpToRtspMediaSource.h"
#include "Util/util.h" #include "Util/util.h"

View File

@ -5,7 +5,7 @@
* Author: xzl * Author: xzl
*/ */
#include "config.h" #include "Common/config.h"
#include "RtmpToRtspMediaSource.h" #include "RtmpToRtspMediaSource.h"
#include "Util/util.h" #include "Util/util.h"
#include "Device/base64.h" #include "Device/base64.h"

View File

@ -14,7 +14,7 @@
#include <memory> #include <memory>
#include <unordered_set> #include <unordered_set>
#include <unordered_map> #include <unordered_map>
#include "config.h" #include "Common/config.h"
#include "RtspMediaSource.h" #include "RtspMediaSource.h"
#include "Util/mini.h" #include "Util/mini.h"
#include "Network/Socket.h" #include "Network/Socket.h"

View File

@ -5,7 +5,7 @@
#include <string> #include <string>
#include <memory> #include <memory>
#include <unordered_map> #include <unordered_map>
#include "config.h" #include "Common/config.h"
using namespace std; using namespace std;

View File

@ -13,9 +13,9 @@
#include <memory> #include <memory>
#include <functional> #include <functional>
#include <unordered_map> #include <unordered_map>
#include "config.h"
#include "Rtsp.h" #include "Rtsp.h"
#include "MediaSender.h" #include "Common/config.h"
#include "Common/MediaSender.h"
#include "Util/logger.h" #include "Util/logger.h"
#include "Util/RingBuffer.h" #include "Util/RingBuffer.h"
#include "Util/TimeTicker.h" #include "Util/TimeTicker.h"

View File

@ -4,7 +4,7 @@
#include <algorithm> #include <algorithm>
#include <arpa/inet.h> #include <arpa/inet.h>
#include "config.h" #include "Common/config.h"
#include "RtspPlayer.h" #include "RtspPlayer.h"
#include "Device/base64.h" #include "Device/base64.h"
#include "H264/SPSParser.h" #include "H264/SPSParser.h"

View File

@ -11,7 +11,7 @@
#include <memory> #include <memory>
#include <algorithm> #include <algorithm>
#include <functional> #include <functional>
#include "config.h" #include "Common/config.h"
#include "RtpParser.h" #include "RtpParser.h"
#include "RtspPlayer.h" #include "RtspPlayer.h"
#include "Poller/Timer.h" #include "Poller/Timer.h"

View File

@ -7,7 +7,7 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <atomic> #include <atomic>
#include "config.h" #include "Common/config.h"
#include "UDPServer.h" #include "UDPServer.h"
#include "RtspSession.h" #include "RtspSession.h"
#include "Device/base64.h" #include "Device/base64.h"

View File

@ -12,7 +12,7 @@
#include <set> #include <set>
#include <vector> #include <vector>
#include <unordered_map> #include <unordered_map>
#include "config.h" #include "Common/config.h"
#include "Rtsp.h" #include "Rtsp.h"
#include "RtpBroadCaster.h" #include "RtpBroadCaster.h"
#include "RtspMediaSource.h" #include "RtspMediaSource.h"

View File

@ -12,7 +12,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <sys/socket.h> #include <sys/socket.h>
#include "config.h" #include "Common/config.h"
#include "Rtmp/Rtmp.h" #include "Rtmp/Rtmp.h"
#include "RtspToRtmpMediaSource.h" #include "RtspToRtmpMediaSource.h"
#include "Util/util.h" #include "Util/util.h"

View File

@ -5,7 +5,7 @@
* Author: xzl * Author: xzl
*/ */
#include "config.h" #include "Common/config.h"
#include "ShellSession.h" #include "ShellSession.h"
#include "Util/logger.h" #include "Util/logger.h"
#include "Util/util.h" #include "Util/util.h"

View File

@ -10,7 +10,7 @@
#include <functional> #include <functional>
#include "CMD.h" #include "CMD.h"
#include "config.h" #include "Common/config.h"
#include "Util/TimeTicker.h" #include "Util/TimeTicker.h"
#include "Network/TcpLimitedSession.h" #include "Network/TcpLimitedSession.h"