优化代码

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

@@ -28,6 +28,12 @@
namespace mediakit{
Sdp::Ptr H265Track::getSdp() {
if(!ready()){
WarnL << "H265 Track未准备好";
return nullptr;
}
return std::make_shared<H265Sdp>(getVps(),getSps(),getPps());
}
}//namespace mediakit