Add event traces to interesting places in WebRTC.

Bug: webrtc:12840
Change-Id: I2fe749039059c9f3d6da064dce10d9c24a27d02e
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/221044
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Markus Handell <handellm@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34199}
This commit is contained in:
Markus Handell
2021-06-02 13:28:10 +02:00
committed by WebRTC LUCI CQ
parent 486b0401c5
commit fccb052ee3
6 changed files with 17 additions and 0 deletions

View File

@ -17,6 +17,7 @@
#include "absl/types/optional.h"
#include "api/video_codecs/sdp_video_format.h"
#include "media/base/media_constants.h"
#include "rtc_base/trace_event.h"
#if defined(WEBRTC_USE_H264)
#include "modules/video_coding/codecs/h264/h264_decoder_impl.h"
@ -65,6 +66,7 @@ void DisableRtcUseH264() {
}
std::vector<SdpVideoFormat> SupportedH264Codecs() {
TRACE_EVENT0("webrtc", __func__);
if (!IsH264CodecSupported())
return std::vector<SdpVideoFormat>();
// We only support encoding Constrained Baseline Profile (CBP), but the