Remove TRACE_ASYNC without matching TRACE_BEGIN in rtc_sender_video
This seems to confuse perfetto, and the data ends up on its own track and the end event is just ignored. As it was invalid, I am assuming it is not used, and can be simply removed. #rtc_fixit Bug: webrtc:15867 Change-Id: I31a814f6c2147c3ce534726bf9046a79369b9eb3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/342761 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Evan Shrubsole <eshr@google.com> Cr-Commit-Position: refs/heads/main@{#41896}
This commit is contained in:
parent
4c990e2e56
commit
ed050bf253
@ -42,7 +42,6 @@
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/experiments/field_trial_parser.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/trace_event.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -464,9 +463,6 @@ bool RTPSenderVideo::SendVideo(int payload_type,
|
||||
RTPVideoHeader video_header,
|
||||
TimeDelta expected_retransmission_time,
|
||||
std::vector<uint32_t> csrcs) {
|
||||
TRACE_EVENT_ASYNC_STEP1(
|
||||
"webrtc", "Video", capture_time.ms_or(0), "Send", "type",
|
||||
std::string(VideoFrameTypeToString(video_header.frame_type)));
|
||||
RTC_CHECK_RUNS_SERIALIZED(&send_checker_);
|
||||
|
||||
if (video_header.frame_type == VideoFrameType::kEmptyFrame)
|
||||
@ -743,8 +739,6 @@ bool RTPSenderVideo::SendVideo(int payload_type,
|
||||
send_allocation_ = SendVideoLayersAllocation::kDontSend;
|
||||
}
|
||||
|
||||
TRACE_EVENT_ASYNC_END1("webrtc", "Video", capture_time.ms_or(0), "timestamp",
|
||||
rtp_timestamp);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user