整理优化代码

This commit is contained in:
xiongziliang 2019-06-28 17:30:13 +08:00
parent ea131d9740
commit 0b08831f5d
39 changed files with 30 additions and 30 deletions

View File

@ -41,7 +41,7 @@
#include "Rtsp/RtspSession.h"
#include "Rtmp/RtmpSession.h"
#include "Shell/ShellSession.h"
#include "RtmpMuxer/FlvMuxer.h"
#include "Rtmp/FlvMuxer.h"
#include "Player/PlayerProxy.h"
#include "Http/WebSocketSession.h"

View File

@ -40,7 +40,7 @@
#include "Rtsp/RtspSession.h"
#include "Rtmp/RtmpSession.h"
#include "Shell/ShellSession.h"
#include "RtmpMuxer/FlvMuxer.h"
#include "Rtmp/FlvMuxer.h"
#include "Player/PlayerProxy.h"
#include "Http/WebSocketSession.h"
#include "WebApi.h"

View File

@ -27,8 +27,8 @@
#ifndef ZLMEDIAKIT_MULTIMEDIASOURCEMUXER_H
#define ZLMEDIAKIT_MULTIMEDIASOURCEMUXER_H
#include "RtspMuxer/RtspMediaSourceMuxer.h"
#include "RtmpMuxer/RtmpMediaSourceMuxer.h"
#include "Rtsp/RtspMediaSourceMuxer.h"
#include "Rtmp/RtmpMediaSourceMuxer.h"
#include "MediaFile/MediaRecorder.h"
class MultiMediaSourceMuxer : public FrameWriterInterface{

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_AACRTMPCODEC_H
#define ZLMEDIAKIT_AACRTMPCODEC_H
#include "RtmpCodec.h"
#include "Rtmp/RtmpCodec.h"
#include "Extension/Track.h"
#include "Extension/AAC.h"

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_AACRTPCODEC_H
#define ZLMEDIAKIT_AACRTPCODEC_H
#include "RtpCodec.h"
#include "Rtsp/RtpCodec.h"
#include "Extension/AAC.h"
namespace mediakit{
/**

View File

@ -25,11 +25,11 @@
*/
#include "Factory.h"
#include "RtmpMuxer/H264RtmpCodec.h"
#include "RtmpMuxer/AACRtmpCodec.h"
#include "RtspMuxer/H264RtpCodec.h"
#include "RtspMuxer/AACRtpCodec.h"
#include "RtspMuxer/H265RtpCodec.h"
#include "H264RtmpCodec.h"
#include "AACRtmpCodec.h"
#include "H264RtpCodec.h"
#include "AACRtpCodec.h"
#include "H265RtpCodec.h"
namespace mediakit{

View File

@ -30,8 +30,8 @@
#include <string>
#include "Rtmp/amf.h"
#include "Extension/Track.h"
#include "RtspMuxer/RtpCodec.h"
#include "RtmpMuxer/RtmpCodec.h"
#include "Rtsp/RtpCodec.h"
#include "Rtmp/RtmpCodec.h"
using namespace std;
using namespace toolkit;

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_H264RTMPCODEC_H
#define ZLMEDIAKIT_H264RTMPCODEC_H
#include "RtmpCodec.h"
#include "Rtmp/RtmpCodec.h"
#include "Extension/Track.h"
#include "Util/ResourcePool.h"
#include "Extension/H264.h"

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_H264RTPCODEC_H
#define ZLMEDIAKIT_H264RTPCODEC_H
#include "RtpCodec.h"
#include "Rtsp/RtpCodec.h"
#include "Util/ResourcePool.h"
#include "Extension/H264.h"
using namespace toolkit;

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_H265RTPCODEC_H
#define ZLMEDIAKIT_H265RTPCODEC_H
#include "RtpCodec.h"
#include "Rtsp/RtpCodec.h"
#include "Util/ResourcePool.h"
#include "Extension/H265.h"

View File

@ -32,7 +32,7 @@
#include "Network/TcpSession.h"
#include "Network/TcpServer.h"
#include "Rtmp/RtmpMediaSource.h"
#include "RtmpMuxer/FlvMuxer.h"
#include "Rtmp/FlvMuxer.h"
#include "HttpRequestSplitter.h"
#include "WebSocketSplitter.h"
#include "HttpCookieManager.h"

View File

@ -34,7 +34,7 @@
#include <unordered_map>
#include "amf.h"
#include "Rtmp.h"
#include "RtmpMuxer/RtmpDemuxer.h"
#include "RtmpDemuxer.h"
#include "Common/config.h"
#include "Common/MediaSource.h"
#include "Util/util.h"

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_RTMPMEDIASOURCEMUXER_H
#define ZLMEDIAKIT_RTMPMEDIASOURCEMUXER_H
#include "RtmpMuxer/RtmpMuxer.h"
#include "RtmpMuxer.h"
#include "Rtmp/RtmpMediaSource.h"
namespace mediakit {

View File

@ -32,7 +32,7 @@
#include "Common/config.h"
#include "RtmpPlayer.h"
#include "RtmpMediaSource.h"
#include "RtmpMuxer/RtmpDemuxer.h"
#include "RtmpDemuxer.h"
#include "Poller/Timer.h"
#include "Util/TimeTicker.h"
using namespace toolkit;

View File

@ -37,9 +37,9 @@
#include "amf.h"
#include "Rtmp.h"
#include "RtmpMediaSource.h"
#include "RtmpMuxer/RtmpDemuxer.h"
#include "RtmpDemuxer.h"
#include "MediaFile/MediaRecorder.h"
#include "RtspMuxer/RtspMediaSourceMuxer.h"
#include "Rtsp/RtspMediaSourceMuxer.h"
using namespace std;
using namespace toolkit;

View File

@ -31,7 +31,7 @@
#include <map>
#include <string>
#include <memory>
#include "RtspMuxer/RtpCodec.h"
#include "RtpCodec.h"
#include "RtspMediaSource.h"
using namespace std;

View File

@ -30,7 +30,7 @@
#include <unordered_map>
#include "Player/PlayerBase.h"
#include "Util/TimeTicker.h"
#include "RtspMuxer/RtpCodec.h"
#include "RtpCodec.h"
using namespace std;
using namespace toolkit;

View File

@ -34,7 +34,7 @@
#include <unordered_map>
#include "Common/config.h"
#include "Common/MediaSource.h"
#include "RtspMuxer/RtpCodec.h"
#include "RtpCodec.h"
#include "Util/logger.h"
#include "Util/RingBuffer.h"

View File

@ -27,7 +27,7 @@
#ifndef ZLMEDIAKIT_RTSPMEDIASOURCEMUXER_H
#define ZLMEDIAKIT_RTSPMEDIASOURCEMUXER_H
#include "RtspMuxer/RtspMuxer.h"
#include "RtspMuxer.h"
#include "Rtsp/RtspMediaSource.h"
namespace mediakit {

View File

@ -32,7 +32,7 @@
#include <functional>
#include "Common/config.h"
#include "RtspPlayer.h"
#include "RtspMuxer/RtspDemuxer.h"
#include "RtspDemuxer.h"
#include "Poller/Timer.h"
#include "Util/TimeTicker.h"

View File

@ -31,8 +31,8 @@
#include "RtspMediaSource.h"
#include "MediaFile/MediaRecorder.h"
#include "Rtmp/RtmpMediaSource.h"
#include "RtspMuxer/RtspDemuxer.h"
#include "RtmpMuxer/RtmpMediaSourceMuxer.h"
#include "RtspDemuxer.h"
#include "Rtmp/RtmpMediaSourceMuxer.h"
using namespace toolkit;

View File

@ -41,7 +41,7 @@
#include "Rtsp/RtspSession.h"
#include "Rtmp/RtmpSession.h"
#include "Shell/ShellSession.h"
#include "RtmpMuxer/FlvMuxer.h"
#include "Rtmp/FlvMuxer.h"
#include "Player/PlayerProxy.h"
#include "Http/WebSocketSession.h"