提交 1f5122fa authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Consumer.hpp: initialize producerRtpStreamScores with nullptr

上级 41a679ca
...@@ -177,7 +177,7 @@ namespace RTC ...@@ -177,7 +177,7 @@ namespace RTC
RTC::RtpParameters::Type type{ RTC::RtpParameters::Type::NONE }; RTC::RtpParameters::Type type{ RTC::RtpParameters::Type::NONE };
std::vector<RTC::RtpEncodingParameters> consumableRtpEncodings; std::vector<RTC::RtpEncodingParameters> consumableRtpEncodings;
struct RTC::RtpHeaderExtensionIds rtpHeaderExtensionIds; struct RTC::RtpHeaderExtensionIds rtpHeaderExtensionIds;
const std::vector<uint8_t>* producerRtpStreamScores; const std::vector<uint8_t>* producerRtpStreamScores{ nullptr };
// Others. // Others.
std::unordered_set<uint8_t> supportedCodecPayloadTypes; std::unordered_set<uint8_t> supportedCodecPayloadTypes;
uint64_t lastRtcpSentTime{ 0u }; uint64_t lastRtcpSentTime{ 0u };
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论