Home
last modified time | relevance | path

Searched refs:PeerConnection (Results 1 – 25 of 42) sorted by relevance

12

/external/webrtc/pc/
Dpeer_connection_histogram_unittest.cc64 int MakeUsageFingerprint(std::set<PeerConnection::UsageEvent> events) { in MakeUsageFingerprint()
89 PeerConnection* internal_pc = static_cast<PeerConnection*>(pc); in ActionsBeforeInitializeForTesting()
140 PeerConnection* GetInternalPeerConnection() { in GetInternalPeerConnection()
144 return static_cast<PeerConnection*>(pci->internal()); in GetInternalPeerConnection()
421 {PeerConnection::UsageEvent::AUDIO_ADDED, in TEST_F()
422 PeerConnection::UsageEvent::VIDEO_ADDED, in TEST_F()
423 PeerConnection::UsageEvent::SET_LOCAL_DESCRIPTION_SUCCEEDED, in TEST_F()
424 PeerConnection::UsageEvent::SET_REMOTE_DESCRIPTION_SUCCEEDED, in TEST_F()
425 PeerConnection::UsageEvent::CANDIDATE_COLLECTED, in TEST_F()
426 PeerConnection::UsageEvent::ADD_ICE_CANDIDATE_SUCCEEDED, in TEST_F()
[all …]
Dpeer_connection.cc716 class PeerConnection::ImplicitCreateSessionDescriptionObserver
720 rtc::WeakPtr<PeerConnection> pc, in ImplicitCreateSessionDescriptionObserver()
781 rtc::WeakPtr<PeerConnection> pc_;
787 class PeerConnection::LocalIceCredentialsToReplace {
844 class PeerConnection::SetRemoteDescriptionObserverAdapter
848 rtc::scoped_refptr<PeerConnection> pc, in SetRemoteDescriptionObserverAdapter()
861 rtc::scoped_refptr<PeerConnection> pc_;
984 void PeerConnection::TransceiverStableState::set_newly_created() { in set_newly_created()
989 void PeerConnection::TransceiverStableState::SetMSectionIfUnset( in SetMSectionIfUnset()
999 void PeerConnection::TransceiverStableState::SetRemoteStreamIdsIfUnset( in SetRemoteStreamIdsIfUnset()
[all …]
Dpeer_connection_signaling_unittest.cc56 PeerConnection* GetInternalPeerConnection() { in GetInternalPeerConnection()
60 return static_cast<PeerConnection*>(pci->internal()); in GetInternalPeerConnection()
648 EXPECT_EQ(PeerConnection::kStable, caller->signaling_state()); in TEST_P()
656 EXPECT_EQ(PeerConnection::kHaveLocalOffer, caller->signaling_state()); in TEST_P()
665 EXPECT_EQ(PeerConnection::kHaveRemoteOffer, callee->signaling_state()); in TEST_P()
681 EXPECT_EQ(PeerConnection::kStable, callee->signaling_state()); in TEST_P()
730 EXPECT_EQ(PeerConnection::kStable, caller->signaling_state()); in TEST_P()
731 EXPECT_EQ(PeerConnection::kStable, callee->signaling_state()); in TEST_P()
747 EXPECT_EQ(PeerConnection::kClosed, caller->pc()->signaling_state()); in TEST_P()
767 EXPECT_EQ(PeerConnection::kClosed, caller->pc()->signaling_state()); in TEST_P()
Ddata_channel_controller.h26 class PeerConnection; variable
32 explicit DataChannelController(PeerConnection* pc) : pc_(pc) {} in DataChannelController()
229 PeerConnection* const pc_;
Dpeer_connection_rampup_tests.cc403 PeerConnection::kTcpCandidatePolicyDisabled; in TEST_F()
406 PeerConnection::kTcpCandidatePolicyDisabled; in TEST_F()
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DPeerConnectionTest.java29 import org.webrtc.PeerConnection.TlsCertPolicy;
45 PeerConnection.IceServer iceServer1 = in testIceServerChanged()
46 PeerConnection.IceServer.builder("turn:fake.example.com") in testIceServerChanged()
55 PeerConnection.IceServer iceServer2 = in testIceServerChanged()
56 PeerConnection.IceServer.builder("turn:fake.example.com") in testIceServerChanged()
65 PeerConnection.IceServer iceServer3 = in testIceServerChanged()
66 PeerConnection.IceServer.builder("turn:fake.example2.com") in testIceServerChanged()
75 PeerConnection.IceServer iceServer4 = in testIceServerChanged()
76 PeerConnection.IceServer.builder("turn:fake.example.com") in testIceServerChanged()
85 PeerConnection.IceServer iceServer5 = in testIceServerChanged()
[all …]
DPeerConnectionEndToEndTest.java42 import org.webrtc.PeerConnection.IceConnectionState;
43 import org.webrtc.PeerConnection.IceGatheringState;
44 import org.webrtc.PeerConnection.PeerConnectionState;
45 import org.webrtc.PeerConnection.SignalingState;
63 implements PeerConnection.Observer, VideoSink, DataChannel.Observer, StatsObserver,
640 PeerConnection pc, VideoSource videoSource, String streamLabel, String videoTrackId, in addTracksToPC()
671 List<PeerConnection.IceServer> iceServers = new ArrayList<>(); in testCompleteSession()
673 PeerConnection.IceServer.builder("stun:stun.l.google.com:19302").createIceServer()); in testCompleteSession()
674 iceServers.add(PeerConnection.IceServer.builder("turn:fake.example.com") in testCompleteSession()
679 PeerConnection.RTCConfiguration rtcConfig = new PeerConnection.RTCConfiguration(iceServers); in testCompleteSession()
[all …]
DRtpTransceiverTest.java33 private PeerConnection pc;
44 PeerConnection.RTCConfiguration config = new PeerConnection.RTCConfiguration(Arrays.asList()); in setUp()
46 config.sdpSemantics = PeerConnection.SdpSemantics.UNIFIED_PLAN; in setUp()
47 pc = factory.createPeerConnection(config, mock(PeerConnection.Observer.class)); in setUp()
DRtpSenderTest.java32 private PeerConnection pc;
43 PeerConnection.RTCConfiguration config = new PeerConnection.RTCConfiguration(Arrays.asList()); in setUp()
45 config.sdpSemantics = PeerConnection.SdpSemantics.UNIFIED_PLAN; in setUp()
46 pc = factory.createPeerConnection(config, mock(PeerConnection.Observer.class)); in setUp()
DRtcCertificatePemTest.java20 import org.webrtc.PeerConnection;
52 RtcCertificatePem.generateCertificate(PeerConnection.KeyType.RSA); in testGenerateCertificateCustomKeyTypeDefaultExpires()
69 RtcCertificatePem.generateCertificate(PeerConnection.KeyType.RSA, 60 * 60 * 24); in testGenerateCertificateCustomKeyTypeAndExpires()
/external/webrtc/sdk/android/api/org/webrtc/
DPeerConnectionFactory.java18 import org.webrtc.PeerConnection;
370 PeerConnection createPeerConnectionInternal(PeerConnection.RTCConfiguration rtcConfig, in createPeerConnectionInternal()
371 MediaConstraints constraints, PeerConnection.Observer observer, in createPeerConnectionInternal()
374 long nativeObserver = PeerConnection.createNativePeerConnectionObserver(observer); in createPeerConnectionInternal()
383 return new PeerConnection(nativePeerConnection); in createPeerConnectionInternal()
392 public PeerConnection createPeerConnection(PeerConnection.RTCConfiguration rtcConfig, in createPeerConnection()
393 MediaConstraints constraints, PeerConnection.Observer observer) { in createPeerConnection()
404 public PeerConnection createPeerConnection(List<PeerConnection.IceServer> iceServers, in createPeerConnection()
405 MediaConstraints constraints, PeerConnection.Observer observer) { in createPeerConnection()
406 PeerConnection.RTCConfiguration rtcConfig = new PeerConnection.RTCConfiguration(iceServers); in createPeerConnection()
[all …]
DPeerConnectionDependencies.java23 private final PeerConnection.Observer observer;
29 private PeerConnection.Observer observer;
32 private Builder(PeerConnection.Observer observer) { in Builder()
47 public static Builder builder(PeerConnection.Observer observer) { in builder()
51 PeerConnection.Observer getObserver() { in getObserver()
61 PeerConnection.Observer observer, SSLCertificateVerifier sslCertificateVerifier) { in PeerConnectionDependencies()
DRtcCertificatePem.java13 import org.webrtc.PeerConnection;
48 return nativeGenerateCertificate(PeerConnection.KeyType.ECDSA, DEFAULT_EXPIRY); in generateCertificate()
55 public static RtcCertificatePem generateCertificate(PeerConnection.KeyType keyType) { in generateCertificate()
64 return nativeGenerateCertificate(PeerConnection.KeyType.ECDSA, expires); in generateCertificate()
69 PeerConnection.KeyType keyType, long expires) { in generateCertificate()
74 PeerConnection.KeyType keyType, long expires); in nativeGenerateCertificate()
DIceCandidate.java15 import org.webrtc.PeerConnection;
26 public final PeerConnection.AdapterType adapterType;
33 this.adapterType = PeerConnection.AdapterType.UNKNOWN; in IceCandidate()
38 PeerConnection.AdapterType adapterType) { in IceCandidate()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DRoomParametersFetcher.java28 import org.webrtc.PeerConnection;
128 List<PeerConnection.IceServer> iceServers = in roomHttpResponseParse()
131 for (PeerConnection.IceServer server : iceServers) { in roomHttpResponseParse()
142 List<PeerConnection.IceServer> turnServers = in roomHttpResponseParse()
144 for (PeerConnection.IceServer turnServer : turnServers) { in roomHttpResponseParse()
162 private List<PeerConnection.IceServer> requestTurnServers(String url) in requestTurnServers()
164 List<PeerConnection.IceServer> turnServers = new ArrayList<>(); in requestTurnServers()
189 PeerConnection.IceServer turnServer = in requestTurnServers()
190 PeerConnection.IceServer.builder(turnUrl) in requestTurnServers()
202 private List<PeerConnection.IceServer> iceServersFromPCConfigJSON(String pcConfig) in iceServersFromPCConfigJSON()
[all …]
DRtcEventLog.java17 import org.webrtc.PeerConnection;
22 private final PeerConnection peerConnection;
31 public RtcEventLog(PeerConnection peerConnection) { in RtcEventLog()
DAppRTCClient.java14 import org.webrtc.PeerConnection;
79 public final List<PeerConnection.IceServer> iceServers;
87 public SignalingParameters(List<PeerConnection.IceServer> iceServers, boolean initiator, in SignalingParameters()
DPeerConnectionClient.java52 import org.webrtc.PeerConnection;
53 import org.webrtc.PeerConnection.IceConnectionState;
54 import org.webrtc.PeerConnection.PeerConnectionState;
132 private PeerConnection peerConnection;
592 PeerConnection.RTCConfiguration rtcConfig = in createPeerConnectionInternal()
593 new PeerConnection.RTCConfiguration(signalingParameters.iceServers); in createPeerConnectionInternal()
596 rtcConfig.tcpCandidatePolicy = PeerConnection.TcpCandidatePolicy.DISABLED; in createPeerConnectionInternal()
597 rtcConfig.bundlePolicy = PeerConnection.BundlePolicy.MAXBUNDLE; in createPeerConnectionInternal()
598 rtcConfig.rtcpMuxPolicy = PeerConnection.RtcpMuxPolicy.REQUIRE; in createPeerConnectionInternal()
599 rtcConfig.continualGatheringPolicy = PeerConnection.ContinualGatheringPolicy.GATHER_CONTINUALLY; in createPeerConnectionInternal()
[all …]
/external/webrtc/sdk/android/
DREADME1 This directory holds a Java implementation of the webrtc::PeerConnection API, as
19 org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
/external/autotest/client/site_tests/audio_WebRtcAudioLoopback/
Daudio_loopback_test.js40 class PeerConnection { class
110 this.peerConnections.push(new PeerConnection(audioElement));
/external/webrtc/
DREADME.chromium11 PeerConnection/MediaStream.
/external/autotest/client/site_tests/webrtc_PausePlayPeerConnections/
Dpause-play.js36 new PeerConnection(element, [resolution], cpuOveruseDetection));
/external/autotest/client/site_tests/video_WebRtcResolutionSwitching/
Dresolution-switching.js45 new PeerConnection(videoElement, RESOLUTIONS, cpuOveruseDetection));
/external/autotest/client/site_tests/video_WebRtcMainFeedSwitching/
Dmain-feed-switching.js49 this.peerConnections.push(new PeerConnection(
/external/webrtc/sdk/objc/
DREADME.md4 C++ PeerConnection API and some platform specific components for iOS and macOS.

12