| OLD | NEW |
| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 RTPSender rtp_sender(false, // bool audio | 115 RTPSender rtp_sender(false, // bool audio |
| 116 clock, // Clock* clock | 116 clock, // Clock* clock |
| 117 nullptr, // Transport* | 117 nullptr, // Transport* |
| 118 nullptr, // PacedSender* | 118 nullptr, // PacedSender* |
| 119 nullptr, // PacketRouter* | 119 nullptr, // PacketRouter* |
| 120 nullptr, // SendTimeObserver* | 120 nullptr, // SendTimeObserver* |
| 121 nullptr, // BitrateStatisticsObserver* | 121 nullptr, // BitrateStatisticsObserver* |
| 122 nullptr, // FrameCountObserver* | 122 nullptr, // FrameCountObserver* |
| 123 nullptr, // SendSideDelayObserver* | 123 nullptr, // SendSideDelayObserver* |
| 124 nullptr, // RtcEventLog* | 124 nullptr, // RtcEventLog* |
| 125 nullptr); // SendPacketObserver* | 125 nullptr, // SendPacketObserver* |
| 126 nullptr); // NackRateLimiter* |
| 126 | 127 |
| 127 std::vector<uint32_t> csrcs; | 128 std::vector<uint32_t> csrcs; |
| 128 for (unsigned i = 0; i < csrcs_count; i++) { | 129 for (unsigned i = 0; i < csrcs_count; i++) { |
| 129 csrcs.push_back(prng->Rand<uint32_t>()); | 130 csrcs.push_back(prng->Rand<uint32_t>()); |
| 130 } | 131 } |
| 131 rtp_sender.SetCsrcs(csrcs); | 132 rtp_sender.SetCsrcs(csrcs); |
| 132 rtp_sender.SetSSRC(prng->Rand<uint32_t>()); | 133 rtp_sender.SetSSRC(prng->Rand<uint32_t>()); |
| 133 rtp_sender.SetStartTimestamp(prng->Rand<uint32_t>(), true); | 134 rtp_sender.SetStartTimestamp(prng->Rand<uint32_t>(), true); |
| 134 rtp_sender.SetSequenceNumber(prng->Rand<uint16_t>()); | 135 rtp_sender.SetSequenceNumber(prng->Rand<uint16_t>()); |
| 135 | 136 |
| (...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 471 rtcp_packet.size()); | 472 rtcp_packet.size()); |
| 472 | 473 |
| 473 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); | 474 RtcEventLogTestHelper::VerifyLogEndEvent(parsed_log, 3); |
| 474 | 475 |
| 475 // Clean up temporary file - can be pretty slow. | 476 // Clean up temporary file - can be pretty slow. |
| 476 remove(temp_filename.c_str()); | 477 remove(temp_filename.c_str()); |
| 477 } | 478 } |
| 478 } // namespace webrtc | 479 } // namespace webrtc |
| 479 | 480 |
| 480 #endif // ENABLE_RTC_EVENT_LOG | 481 #endif // ENABLE_RTC_EVENT_LOG |
| OLD | NEW |