Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Side by Side Diff: webrtc/call/rtc_event_log_unittest.cc

Issue 1803923003: Clean away use of RtpAudioFeedback interface from RTP/RTCP sender code. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 uint32_t csrcs_count, 301 uint32_t csrcs_count,
302 uint8_t* packet, 302 uint8_t* packet,
303 size_t packet_size, 303 size_t packet_size,
304 Random* prng) { 304 Random* prng) {
305 RTC_CHECK_GE(packet_size, 16 + 4 * csrcs_count + 4 * kNumExtensions); 305 RTC_CHECK_GE(packet_size, 16 + 4 * csrcs_count + 4 * kNumExtensions);
306 Clock* clock = Clock::GetRealTimeClock(); 306 Clock* clock = Clock::GetRealTimeClock();
307 307
308 RTPSender rtp_sender(false, // bool audio 308 RTPSender rtp_sender(false, // bool audio
309 clock, // Clock* clock 309 clock, // Clock* clock
310 nullptr, // Transport* 310 nullptr, // Transport*
311 nullptr, // RtpAudioFeedback*
312 nullptr, // PacedSender* 311 nullptr, // PacedSender*
313 nullptr, // PacketRouter* 312 nullptr, // PacketRouter*
314 nullptr, // SendTimeObserver* 313 nullptr, // SendTimeObserver*
315 nullptr, // BitrateStatisticsObserver* 314 nullptr, // BitrateStatisticsObserver*
316 nullptr, // FrameCountObserver* 315 nullptr, // FrameCountObserver*
317 nullptr, // SendSideDelayObserver* 316 nullptr, // SendSideDelayObserver*
318 nullptr); // RtcEventLog* 317 nullptr); // RtcEventLog*
319 318
320 std::vector<uint32_t> csrcs; 319 std::vector<uint32_t> csrcs;
321 for (unsigned i = 0; i < csrcs_count; i++) { 320 for (unsigned i = 0; i < csrcs_count; i++) {
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
685 // Enable all header extensions 684 // Enable all header extensions
686 uint32_t extensions = (1u << kNumExtensions) - 1; 685 uint32_t extensions = (1u << kNumExtensions) - 1;
687 uint32_t csrcs_count = 2; 686 uint32_t csrcs_count = 2;
688 DropOldEvents(extensions, csrcs_count, 141421356); 687 DropOldEvents(extensions, csrcs_count, 141421356);
689 DropOldEvents(extensions, csrcs_count, 173205080); 688 DropOldEvents(extensions, csrcs_count, 173205080);
690 } 689 }
691 690
692 } // namespace webrtc 691 } // namespace webrtc
693 692
694 #endif // ENABLE_RTC_EVENT_LOG 693 #endif // ENABLE_RTC_EVENT_LOG
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/rtp_rtcp/include/rtp_rtcp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698