commit | c417d9e558eb784a6933cfbd555cd7c3cab36bf8 | [log] [tgz] |
---|---|---|
author | Henrik Lundin <henrik.lundin@webrtc.org> | Wed Jun 14 10:29:03 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 14 12:06:24 2017 |
tree | be8d7be08a239db83d826c3687b1d55b3bbb76e5 | |
parent | 2b3aa14ee25d17ebaf4765a0276cb06daf1f8074 [diff] |
NetEq: Removing LastError and LastDecoderError 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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.