Add CodecLogger
VideoEncoder and DecoderTemplate share some common logic around the lifetime management of MediaLogs. This CL abstracts away the logic into a CodecLogger, and updates MediaLog uses through out the code. This CL also makes sure not to report the media::Status messages in JS exceptions, to avoid leaking security sensitive information. Bug: 1148541 Change-Id: I483ee7be7aa52a7996c91cef7d781ba80b516855 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2538964Reviewed-by:Eugene Zemtsov <eugene@chromium.org> Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#831219}
Showing
Please register or sign in to comment