mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 19:51:49 +08:00
优化代码
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user