LastDecoderError was only used in tests. LastError was only used in conjunction with RemovePayloadType, and always to distinguish between "decoder not found" and "other error". In AcmReceiver, "decoder not found" was not treated as an error. With this change, calling NetEq::RemovePayloadType with a payload type that is not registered is no longer considered to be an error. This allows to rewrite the code in AcmReceiver, such that it no longer has to call LastError. The internal member variables NetEqImpl::error_code_ and NetEqImpl::decoder_error_code_ are removed, since they were no longer read. Bug: none Change-Id: Ibfe97265954a2870c3caea4a34aac958351d7ff1 Reviewed-on: https://chromium-review.googlesource.com/535533 Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#18588}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.