| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 #include <memory> | 11 #include <memory> |
| 12 | 12 |
| 13 #include "webrtc/base/criticalsection.h" | 13 #include "webrtc/rtc_base/criticalsection.h" |
| 14 #include "webrtc/system_wrappers/include/atomic32.h" | 14 #include "webrtc/system_wrappers/include/atomic32.h" |
| 15 #include "webrtc/system_wrappers/include/event_wrapper.h" | 15 #include "webrtc/system_wrappers/include/event_wrapper.h" |
| 16 #include "webrtc/test/testsupport/fileutils.h" | 16 #include "webrtc/test/testsupport/fileutils.h" |
| 17 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" | 17 #include "webrtc/voice_engine/test/auto_test/fixtures/after_streaming_fixture.h" |
| 18 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" | 18 #include "webrtc/voice_engine/test/auto_test/voe_standard_test.h" |
| 19 | 19 |
| 20 class TestRtpObserver : public webrtc::VoERTPObserver { | 20 class TestRtpObserver : public webrtc::VoERTPObserver { |
| 21 public: | 21 public: |
| 22 TestRtpObserver() : changed_ssrc_event_(webrtc::EventWrapper::Create()) {} | 22 TestRtpObserver() : changed_ssrc_event_(webrtc::EventWrapper::Create()) {} |
| 23 virtual ~TestRtpObserver() {} | 23 virtual ~TestRtpObserver() {} |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 109 |
| 110 Sleep(1000); | 110 Sleep(1000); |
| 111 | 111 |
| 112 unsigned int ssrc; | 112 unsigned int ssrc; |
| 113 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, ssrc)); | 113 EXPECT_EQ(0, voe_rtp_rtcp_->GetLocalSSRC(channel_, ssrc)); |
| 114 EXPECT_EQ(local_ssrc, ssrc); | 114 EXPECT_EQ(local_ssrc, ssrc); |
| 115 | 115 |
| 116 EXPECT_EQ(0, voe_rtp_rtcp_->GetRemoteSSRC(channel_, ssrc)); | 116 EXPECT_EQ(0, voe_rtp_rtcp_->GetRemoteSSRC(channel_, ssrc)); |
| 117 EXPECT_EQ(local_ssrc, ssrc); | 117 EXPECT_EQ(local_ssrc, ssrc); |
| 118 } | 118 } |
| OLD | NEW |