整理文件 规范命名

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,15 +31,15 @@
#include <functional>
#include "Common/config.h"
#include "RtmpPlayer.h"
#include "RtmpParser.h"
#include "RtmpMediaSource.h"
#include "RtmpMuxer/RtmpDemuxer.h"
#include "Poller/Timer.h"
#include "Util/TimeTicker.h"
using namespace toolkit;
namespace mediakit {
class RtmpPlayerImp: public PlayerImp<RtmpPlayer,RtmpParser> {
class RtmpPlayerImp: public PlayerImp<RtmpPlayer,RtmpDemuxer> {
public:
typedef std::shared_ptr<RtmpPlayerImp> Ptr;
RtmpPlayerImp(){};
@@ -65,7 +65,7 @@ private:
_pRtmpMediaSrc->onGetMetaData(val);
}
try {
_parser.reset(new RtmpParser(val));
_parser.reset(new RtmpDemuxer(val));
//todo(xzl) 修复此处
// _parser->setOnVideoCB(_onGetVideoCB);
// _parser->setOnAudioCB(_onGetAudioCB);