Add tracing to NetEqImpl::InsertPacket
BUG=webrtc:5167 R=pbos@webrtc.org Review URL: https://codereview.webrtc.org/1525423004 Cr-Commit-Position: refs/heads/master@{#11065}
This commit is contained in:
committed by
Commit bot
parent
0eb15ed7b8
commit
a689b44c17
@ -18,6 +18,7 @@
|
||||
#include "webrtc/base/checks.h"
|
||||
#include "webrtc/base/logging.h"
|
||||
#include "webrtc/base/safe_conversions.h"
|
||||
#include "webrtc/base/trace_event.h"
|
||||
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "webrtc/modules/audio_coding/codecs/audio_decoder.h"
|
||||
#include "webrtc/modules/audio_coding/neteq/accelerate.h"
|
||||
@ -124,6 +125,7 @@ NetEqImpl::~NetEqImpl() = default;
|
||||
int NetEqImpl::InsertPacket(const WebRtcRTPHeader& rtp_header,
|
||||
rtc::ArrayView<const uint8_t> payload,
|
||||
uint32_t receive_timestamp) {
|
||||
TRACE_EVENT0("webrtc", "NetEqImpl::InsertPacket");
|
||||
CriticalSectionScoped lock(crit_sect_.get());
|
||||
int error =
|
||||
InsertPacketInternal(rtp_header, payload, receive_timestamp, false);
|
||||
|
||||
Reference in New Issue
Block a user