mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 07:12:21 +08:00
简化命名空间
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user