mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 12:11:36 +08:00
调整目录结构
This commit is contained in:
parent
08387d5836
commit
4a021e17bc
@ -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
|
||||||
|
|
||||||
|
@ -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 \
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user