Eliminate NackModule dependency on VCMPacket
Bug: None Change-Id: I1d4ecac123c888f2315aeb2f717ee756a472036e Reviewed-on: https://webrtc-review.googlesource.com/95420 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24387}
This commit is contained in:
@ -108,12 +108,6 @@ int NackModule::OnReceivedPacket(uint16_t seq_num, bool is_keyframe) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int NackModule::OnReceivedPacket(const VCMPacket& packet) {
|
||||
return OnReceivedPacket(
|
||||
packet.seqNum,
|
||||
packet.is_first_packet_in_frame && packet.frameType == kVideoFrameKey);
|
||||
}
|
||||
|
||||
void NackModule::ClearUpTo(uint16_t seq_num) {
|
||||
rtc::CritScope lock(&crit_);
|
||||
nack_list_.erase(nack_list_.begin(), nack_list_.lower_bound(seq_num));
|
||||
|
||||
Reference in New Issue
Block a user