WebRTC external codec list grows every time supported_codecs is called |
|||
Issue descriptionThe corresponding WebRTC issue is here: https://bugs.chromium.org/p/webrtc/issues/detail?id=7020. What steps will reproduce the problem? (1) Use e.g. Hangouts or some other WebRTC service in Chrome. (2) Wait a while. What is the expected result? The list of codecs supported by the external encoder factory should be the same every time it's called. What happens instead? [902.535s] Codecs supported by the external encoder factory: H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, H264, ... The fix for this landed in https://codereview.webrtc.org/2639423006 one month ago. We want to merge the fix to M57. The fix is trivial.
,
Feb 25 2017
The following revision refers to this bug: https://chromium.googlesource.com/external/webrtc.git/+/52b6562a10b495cf771d8388ee51990d56074059 commit 52b6562a10b495cf771d8388ee51990d56074059 Author: Magnus Jedvert <magjed@webrtc.org> Date: Sat Feb 25 19:12:18 2017 Merge to 57: Clear out cached codecs when calculating new codec lists. Without this, every time WebRtcVideoEngine2 calls supported_codecs(), the codec list grows. BUG= webrtc:7020 Original Review-Url: https://codereview.webrtc.org/2639423006 Original Cr-Commit-Position: refs/heads/master@{#16178} (cherry picked from commit be850e1b1de5bf046080ac1df7de67a3d6d12d1c) Review-Url: https://codereview.webrtc.org/2717053002 . Cr-Commit-Position: refs/branch-heads/57@{#7} Cr-Branched-From: e5cbc2019003dbb40e03811d7607feb95757a4ec-refs/heads/master@{#16123} [modify] https://crrev.com/52b6562a10b495cf771d8388ee51990d56074059/webrtc/media/BUILD.gn [modify] https://crrev.com/52b6562a10b495cf771d8388ee51990d56074059/webrtc/media/engine/webrtcvideoencoderfactory.cc [add] https://crrev.com/52b6562a10b495cf771d8388ee51990d56074059/webrtc/media/engine/webrtcvideoencoderfactory_unittest.cc
,
Feb 26 2017
Per comment #2, this is already merged to M57. Hence removing "Merge-Approved-57" label.
,
Mar 3 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by sheriffbot@chromium.org
, Feb 25 2017