整理文件 规范命名

This commit is contained in:
xiongziliang
2018-10-24 18:09:54 +08:00
parent 2c413e0742
commit f41f7e28ec
35 changed files with 60 additions and 61 deletions

View File

@@ -31,8 +31,8 @@
#include <algorithm>
#include <functional>
#include "Common/config.h"
#include "RtpParser.h"
#include "RtspPlayer.h"
#include "RtspMuxer/RtspDemuxer.h"
#include "Poller/Timer.h"
#include "Util/TimeTicker.h"
@@ -41,7 +41,7 @@ using namespace toolkit;
namespace mediakit {
class RtspPlayerImp: public PlayerImp<RtspPlayer,RtpParser> {
class RtspPlayerImp: public PlayerImp<RtspPlayer,RtspDemuxer> {
public:
typedef std::shared_ptr<RtspPlayerImp> Ptr;
RtspPlayerImp(){};
@@ -68,7 +68,7 @@ private:
_pRtspMediaSrc->onGetSDP(sdp);
}
try {
_parser.reset(new RtpParser(sdp));
_parser.reset(new RtspDemuxer(sdp));
//todo(xzl) 修复此处
// _parser->setOnVideoCB(_onGetVideoCB);
// _parser->setOnAudioCB(_onGetAudioCB);