完成mp4/hls录制代码适配

This commit is contained in:
xiongziliang
2018-10-28 00:26:26 +08:00
parent b2ebd84848
commit 4876e9ff5c
3 changed files with 11 additions and 17 deletions

View File

@@ -123,22 +123,8 @@ private:
};
#endif //0
class DevChannelNew : public MultiMediaSourceMuxer
{
public:
typedef std::shared_ptr<DevChannelNew> Ptr;
DevChannelNew(const char *strVhost,
const char *strApp,
const char *strId,
float fDuration = 0,
bool bEanbleHls = true,
bool bEnableMp4 = false):
MultiMediaSourceMuxer(strVhost,strApp,strId,fDuration){};
virtual ~DevChannelNew(){}
};
typedef DevChannelNew DevChannel;
typedef MultiMediaSourceMuxer DevChannel;
} /* namespace mediakit */