简化命名空间

This commit is contained in:
xiongziliang
2018-10-24 17:17:55 +08:00
parent ed1402e9d6
commit 9f16cc1201
133 changed files with 446 additions and 788 deletions

View File

@@ -39,10 +39,7 @@
#include "cleaner.h"
using namespace std;
using namespace ZL::Util;
using namespace ZL::Rtmp;
using namespace ZL::Rtsp;
using namespace ZL::Http;
using namespace toolkit;
static TcpServer::Ptr s_pRtspSrv;
static TcpServer::Ptr s_pRtmpSrv;

View File

@@ -5,7 +5,7 @@
#include "flvrecorder.h"
#include "Rtmp/FlvMuxer.h"
using namespace ZL::Rtmp;
using namespace toolkit;
API_EXPORT FlvRecorderContex API_CALL createFlvRecorder(){
DebugL;

View File

@@ -33,9 +33,7 @@
#include "cleaner.h"
using namespace std;
using namespace ZL::Util;
using namespace ZL::Http;
using namespace toolkit;
static recursive_mutex s_mtxMapDownloader;
static unordered_map<void *, HttpDownloader::Ptr> s_mapDownloader;

View File

@@ -32,8 +32,7 @@
#include "cleaner.h"
using namespace std;
using namespace ZL::DEV;
using namespace ZL::Util;
using namespace toolkit;
static recursive_mutex s_mtxMapMedia;
static unordered_map<void *, DevChannel::Ptr> s_mapMedia;

View File

@@ -35,11 +35,7 @@
#include "cleaner.h"
using namespace std;
using namespace ZL::Util;
using namespace ZL::Thread;
using namespace ZL::Player;
using namespace ZL::Rtmp;
using namespace ZL::Rtsp;
using namespace toolkit;
static recursive_mutex s_mtxMapPlayer;
static unordered_map<void *, MediaPlayer::Ptr> s_mapPlayer;

View File

@@ -28,8 +28,7 @@
#include "Device/PlayerProxy.h"
#include "Util/onceToken.h"
using namespace ZL::DEV;
using namespace ZL::Util;
using namespace toolkit;
static recursive_mutex s_mtxMapProxyPlayer;
static unordered_map<void *, PlayerProxy::Ptr> s_mapProxyPlayer;