This fixes the issue when Init() with correct codec settings fails because preceding Init() was called with wrong settings. Bug: webrtc:8969 Change-Id: I50e618af6266ef593942fda27839c7c01e8717ae Reviewed-on: https://webrtc-review.googlesource.com/59382 Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Commit-Queue: Sergey Silkin <ssilkin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22271}