Home
last modified time | relevance | path

Searched refs:videoCapturer (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/examples/androidnativeapi/java/org/webrtc/examples/androidnativeapi/
DMainActivity.java34 private @Nullable VideoCapturer videoCapturer; field in MainActivity
48 if (videoCapturer == null) { in onCreate()
49 videoCapturer = createVideoCapturer(getApplicationContext()); in onCreate()
52 localRenderer, remoteRenderer, videoCapturer, videoCapturerSurfaceTextureHelper); in onCreate()
102 if (videoCapturer != null) { in hangup()
104 videoCapturer.stopCapture(); in hangup()
108 videoCapturer.dispose(); in hangup()
109 videoCapturer = null; in hangup()
DCallClient.java33 private VideoCapturer videoCapturer; field in CallClient
43 public void call(VideoSink localSink, VideoSink remoteSink, VideoCapturer videoCapturer, in call() argument
47 videoCapturer.initialize(videoCapturerSurfaceTextureHelper, applicationContext, in call()
49 videoCapturer.startCapture(CAPTURE_WIDTH, CAPTURE_HEIGHT, CAPTURE_FPS); in call()
/external/webrtc/examples/unityplugin/java/src/org/webrtc/
DUnityUtility.java34 VideoCapturer videoCapturer = enumerator.createCapturer(deviceName, null); in createCameraCapturer() local
36 if (videoCapturer != null) { in createCameraCapturer()
37 return videoCapturer; in createCameraCapturer()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DCallActivity.java439 VideoCapturer videoCapturer = enumerator.createCapturer(deviceName, null); in createCameraCapturer() local
441 if (videoCapturer != null) { in createCameraCapturer()
442 return videoCapturer; in createCameraCapturer()
452 VideoCapturer videoCapturer = enumerator.createCapturer(deviceName, null); in createCameraCapturer() local
454 if (videoCapturer != null) { in createCameraCapturer()
455 return videoCapturer; in createCameraCapturer()
702 final VideoCapturer videoCapturer;
706 videoCapturer = new FileVideoCapturer(videoFileAsCamera);
720 videoCapturer = createCameraCapturer(new Camera2Enumerator(this));
723 videoCapturer = createCameraCapturer(new Camera1Enumerator(captureToTexture()));
[all …]
DPeerConnectionClient.java158 private VideoCapturer videoCapturer; field in PeerConnectionClient
357 final VideoCapturer videoCapturer, final SignalingParameters signalingParameters) { in createPeerConnection() argument
358 if (peerConnectionParameters.videoCallEnabled && videoCapturer == null) { in createPeerConnection()
362 localRender, Collections.singletonList(remoteSink), videoCapturer, signalingParameters); in createPeerConnection()
366 final VideoCapturer videoCapturer, final SignalingParameters signalingParameters) { in createPeerConnection() argument
373 this.videoCapturer = videoCapturer; in createPeerConnection()
392 return peerConnectionParameters.videoCallEnabled && videoCapturer != null; in isVideoCallEnabled()
626 peerConnection.addTrack(createVideoTrack(videoCapturer), mediaStreamLabels); in createPeerConnectionInternal()
706 if (videoCapturer != null) { in closeInternal()
708 videoCapturer.stopCapture(); in closeInternal()
[all …]
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/
DPeerConnectionEndToEndTest.java693 final VideoCapturer videoCapturer = in testCompleteSession() local
698 videoCapturer.initialize(surfaceTextureHelper, InstrumentationRegistry.getTargetContext(), in testCompleteSession()
700 videoCapturer.startCapture(640, 480, 30); in testCompleteSession()
920 videoCapturer.stopCapture(); in testCompleteSession()
921 videoCapturer.dispose(); in testCompleteSession()
1188 final VideoCapturer videoCapturer = in testTrackRemovalAndAddition() local
1193 videoCapturer.initialize(surfaceTextureHelper, InstrumentationRegistry.getTargetContext(), in testTrackRemovalAndAddition()
1195 videoCapturer.startCapture(640, 480, 30); in testTrackRemovalAndAddition()
1350 videoCapturer.stopCapture(); in testTrackRemovalAndAddition()
1351 videoCapturer.dispose(); in testTrackRemovalAndAddition()
[all …]
/external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java272 PeerConnectionParameters peerConnectionParameters, VideoCapturer videoCapturer) { in createPeerConnectionClient() argument
287 client.createPeerConnection(localRenderer, remoteRenderer, videoCapturer, signalingParameters); in createPeerConnectionClient()
386 private void doLoopbackTest(PeerConnectionParameters parameters, VideoCapturer videoCapturer, in doLoopbackTest() argument
398 pcClient = createPeerConnectionClient(localRenderer, remoteRenderer, parameters, videoCapturer); in doLoopbackTest()