支持bitrate

This commit is contained in:
ziyue
2020-12-04 16:44:53 +08:00
parent 42679cdf98
commit 68926b4ae7
23 changed files with 102 additions and 52 deletions

View File

@@ -55,7 +55,7 @@ Sdp::Ptr H265Track::getSdp() {
WarnL << getCodecName() << " Track未准备好";
return nullptr;
}
return std::make_shared<H265Sdp>(getVps(),getSps(),getPps());
return std::make_shared<H265Sdp>(getVps(), getSps(), getPps(), getBitRate() / 1024);
}
}//namespace mediakit