| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 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 #include <sstream> | 12 #include <sstream> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 | 15 |
| 16 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" | 16 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" |
| 17 #include "webrtc/api/audio_codecs/builtin_audio_encoder_factory.h" | 17 #include "webrtc/api/audio_codecs/builtin_audio_encoder_factory.h" |
| 18 #include "webrtc/api/jsepsessiondescription.h" | 18 #include "webrtc/api/jsepsessiondescription.h" |
| 19 #include "webrtc/api/mediastreaminterface.h" | 19 #include "webrtc/api/mediastreaminterface.h" |
| 20 #include "webrtc/api/peerconnectioninterface.h" | 20 #include "webrtc/api/peerconnectioninterface.h" |
| 21 #include "webrtc/api/rtpreceiverinterface.h" | 21 #include "webrtc/api/rtpreceiverinterface.h" |
| 22 #include "webrtc/api/rtpsenderinterface.h" | 22 #include "webrtc/api/rtpsenderinterface.h" |
| 23 #include "webrtc/api/test/fakeconstraints.h" | 23 #include "webrtc/api/test/fakeconstraints.h" |
| 24 #include "webrtc/base/gunit.h" | |
| 25 #include "webrtc/base/ssladapter.h" | |
| 26 #include "webrtc/base/sslstreamadapter.h" | |
| 27 #include "webrtc/base/stringutils.h" | |
| 28 #include "webrtc/base/thread.h" | |
| 29 #include "webrtc/base/virtualsocketserver.h" | |
| 30 #include "webrtc/media/base/fakevideocapturer.h" | 24 #include "webrtc/media/base/fakevideocapturer.h" |
| 31 #include "webrtc/media/engine/webrtcmediaengine.h" | 25 #include "webrtc/media/engine/webrtcmediaengine.h" |
| 32 #include "webrtc/media/sctp/sctptransportinternal.h" | 26 #include "webrtc/media/sctp/sctptransportinternal.h" |
| 33 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 27 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
| 34 #include "webrtc/p2p/base/fakeportallocator.h" | 28 #include "webrtc/p2p/base/fakeportallocator.h" |
| 35 #include "webrtc/pc/audiotrack.h" | 29 #include "webrtc/pc/audiotrack.h" |
| 36 #include "webrtc/pc/mediasession.h" | 30 #include "webrtc/pc/mediasession.h" |
| 37 #include "webrtc/pc/mediastream.h" | 31 #include "webrtc/pc/mediastream.h" |
| 38 #include "webrtc/pc/peerconnection.h" | 32 #include "webrtc/pc/peerconnection.h" |
| 39 #include "webrtc/pc/streamcollection.h" | 33 #include "webrtc/pc/streamcollection.h" |
| 40 #include "webrtc/pc/test/fakertccertificategenerator.h" | 34 #include "webrtc/pc/test/fakertccertificategenerator.h" |
| 41 #include "webrtc/pc/test/fakevideotracksource.h" | 35 #include "webrtc/pc/test/fakevideotracksource.h" |
| 42 #include "webrtc/pc/test/mockpeerconnectionobservers.h" | 36 #include "webrtc/pc/test/mockpeerconnectionobservers.h" |
| 43 #include "webrtc/pc/test/testsdpstrings.h" | 37 #include "webrtc/pc/test/testsdpstrings.h" |
| 44 #include "webrtc/pc/videocapturertracksource.h" | 38 #include "webrtc/pc/videocapturertracksource.h" |
| 45 #include "webrtc/pc/videotrack.h" | 39 #include "webrtc/pc/videotrack.h" |
| 40 #include "webrtc/rtc_base/gunit.h" |
| 41 #include "webrtc/rtc_base/ssladapter.h" |
| 42 #include "webrtc/rtc_base/sslstreamadapter.h" |
| 43 #include "webrtc/rtc_base/stringutils.h" |
| 44 #include "webrtc/rtc_base/thread.h" |
| 45 #include "webrtc/rtc_base/virtualsocketserver.h" |
| 46 #include "webrtc/test/gmock.h" | 46 #include "webrtc/test/gmock.h" |
| 47 | 47 |
| 48 #ifdef WEBRTC_ANDROID | 48 #ifdef WEBRTC_ANDROID |
| 49 #include "webrtc/pc/test/androidtestinitializer.h" | 49 #include "webrtc/pc/test/androidtestinitializer.h" |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 static const char kStreamLabel1[] = "local_stream_1"; | 52 static const char kStreamLabel1[] = "local_stream_1"; |
| 53 static const char kStreamLabel2[] = "local_stream_2"; | 53 static const char kStreamLabel2[] = "local_stream_2"; |
| 54 static const char kStreamLabel3[] = "local_stream_3"; | 54 static const char kStreamLabel3[] = "local_stream_3"; |
| 55 static const int kDefaultStunPort = 3478; | 55 static const int kDefaultStunPort = 3478; |
| (...skipping 3639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3695 EXPECT_NE(a, f); | 3695 EXPECT_NE(a, f); |
| 3696 | 3696 |
| 3697 PeerConnectionInterface::RTCConfiguration g; | 3697 PeerConnectionInterface::RTCConfiguration g; |
| 3698 g.disable_ipv6 = true; | 3698 g.disable_ipv6 = true; |
| 3699 EXPECT_NE(a, g); | 3699 EXPECT_NE(a, g); |
| 3700 | 3700 |
| 3701 PeerConnectionInterface::RTCConfiguration h( | 3701 PeerConnectionInterface::RTCConfiguration h( |
| 3702 PeerConnectionInterface::RTCConfigurationType::kAggressive); | 3702 PeerConnectionInterface::RTCConfigurationType::kAggressive); |
| 3703 EXPECT_NE(a, h); | 3703 EXPECT_NE(a, h); |
| 3704 } | 3704 } |
| OLD | NEW |