ClangTidy fixes for call/
These are manual edits please verify there are no typos. Feel free to auto-submit if there are no issues. Bug: webrtc:10410 Change-Id: I08ff36bd689fa7c3716c8e7017bd571cc9f09f35 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/127642 Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Fredrik Solenberg <solenberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27125}
This commit is contained in:
committed by
Commit Bot
parent
009ab3c438
commit
41f9f2cc57
@ -637,7 +637,7 @@ void CallPerfTest::TestMinTransmitBitrate(bool pad_to_min_bitrate) {
|
||||
// TODO(holmer): Run this with a timer instead of once per packet.
|
||||
Action OnSendRtp(const uint8_t* packet, size_t length) override {
|
||||
VideoSendStream::Stats stats = send_stream_->GetStats();
|
||||
if (stats.substreams.size() > 0) {
|
||||
if (!stats.substreams.empty()) {
|
||||
RTC_DCHECK_EQ(1, stats.substreams.size());
|
||||
int bitrate_kbps =
|
||||
stats.substreams.begin()->second.total_bitrate_bps / 1000;
|
||||
|
||||
Reference in New Issue
Block a user