修复webrtc rtx包计入receiver report统计导致simulcast推流失效的问题

This commit is contained in:
ziyue
2021-07-14 21:39:30 +08:00
parent 6bc39058ab
commit 6ddd420f1c
4 changed files with 17 additions and 27 deletions

View File

@@ -36,7 +36,7 @@ public:
~RtpReceiverImp() override = default;
bool inputRtp(TrackType type, uint8_t *ptr, size_t len){
return RtpTrack::inputRtp(type, _sample_rate, ptr, len);
return RtpTrack::inputRtp(type, _sample_rate, ptr, len).operator bool();
}
private: