Delete AudioDecoder method IncomingPacket
Only the ISAC codec had an non-trivial implementation, for its unused adaptive mode. This cl deletes that implementation, and the call from NetEq, and the interface method. Bug: webrtc:10098 Change-Id: Iaf7667e0ae867fc9d64286dff4c01a8ce0b6e2a4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153882 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29279}
This commit is contained in:
@ -594,19 +594,6 @@ int NetEqImpl::InsertPacketInternal(const RTPHeader& rtp_header,
|
||||
}
|
||||
}
|
||||
|
||||
// Update bandwidth estimate, if the packet is not comfort noise.
|
||||
if (!packet_list.empty() &&
|
||||
!decoder_database_->IsComfortNoise(main_payload_type)) {
|
||||
// The list can be empty here if we got nothing but DTMF payloads.
|
||||
AudioDecoder* decoder = decoder_database_->GetDecoder(main_payload_type);
|
||||
RTC_DCHECK(decoder); // Should always get a valid object, since we have
|
||||
// already checked that the payload types are known.
|
||||
decoder->IncomingPacket(packet_list.front().payload.data(),
|
||||
packet_list.front().payload.size(),
|
||||
packet_list.front().sequence_number,
|
||||
packet_list.front().timestamp, receive_timestamp);
|
||||
}
|
||||
|
||||
PacketList parsed_packet_list;
|
||||
while (!packet_list.empty()) {
|
||||
Packet& packet = packet_list.front();
|
||||
|
||||
Reference in New Issue
Block a user