优化代码

This commit is contained in:
xiongziliang
2019-06-28 16:12:39 +08:00
parent 034dbbf7ba
commit 0a2c022fa8
16 changed files with 182 additions and 299 deletions

View File

@@ -29,8 +29,6 @@
#include "Frame.h"
#include "Track.h"
#include "RtspMuxer/RtspSdp.h"
namespace mediakit{
@@ -258,6 +256,9 @@ private:
Track::Ptr clone() override {
return std::make_shared<std::remove_reference<decltype(*this)>::type >(*this);
}
//生成sdp
Sdp::Ptr getSdp() override ;
private:
string _cfg;
int _sampleRate = 0;