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 |
11 #ifdef ENABLE_RTC_EVENT_LOG | 11 #ifdef ENABLE_RTC_EVENT_LOG |
12 | 12 |
13 #include <map> | 13 #include <map> |
14 #include <memory> | 14 #include <memory> |
15 #include <string> | 15 #include <string> |
16 #include <utility> | 16 #include <utility> |
17 #include <vector> | 17 #include <vector> |
18 | 18 |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "webrtc/base/buffer.h" | 20 #include "webrtc/base/buffer.h" |
21 #include "webrtc/base/checks.h" | 21 #include "webrtc/base/checks.h" |
22 #include "webrtc/base/random.h" | 22 #include "webrtc/base/random.h" |
23 #include "webrtc/base/thread.h" | |
24 #include "webrtc/call.h" | 23 #include "webrtc/call.h" |
25 #include "webrtc/call/rtc_event_log.h" | 24 #include "webrtc/call/rtc_event_log.h" |
26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" | 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" |
27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" | 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" |
28 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" | 27 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" |
29 #include "webrtc/system_wrappers/include/clock.h" | 28 #include "webrtc/system_wrappers/include/clock.h" |
30 #include "webrtc/test/test_suite.h" | 29 #include "webrtc/test/test_suite.h" |
31 #include "webrtc/test/testsupport/fileutils.h" | 30 #include "webrtc/test/testsupport/fileutils.h" |
32 | 31 |
33 // Files generated at build-time by the protobuf compiler. | 32 // Files generated at build-time by the protobuf compiler. |
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 rtcp_packet.data(), rtcp_packet.size()); | 698 rtcp_packet.data(), rtcp_packet.size()); |
700 | 699 |
701 VerifyLogEndEvent(parsed_stream.stream(3)); | 700 VerifyLogEndEvent(parsed_stream.stream(3)); |
702 | 701 |
703 // Clean up temporary file - can be pretty slow. | 702 // Clean up temporary file - can be pretty slow. |
704 remove(temp_filename.c_str()); | 703 remove(temp_filename.c_str()); |
705 } | 704 } |
706 } // namespace webrtc | 705 } // namespace webrtc |
707 | 706 |
708 #endif // ENABLE_RTC_EVENT_LOG | 707 #endif // ENABLE_RTC_EVENT_LOG |
OLD | NEW |