Home
last modified time | relevance | path

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

/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DPeerConnectionClient.java121 private int numberOfCameras; field in PeerConnectionClient
361 numberOfCameras = CameraEnumerationAndroid.getDeviceCount(); in createMediaConstraintsInternal()
362 if (numberOfCameras == 0) { in createMediaConstraintsInternal()
477 if (numberOfCameras > 1 && frontCameraDeviceName != null) { in createPeerConnectionInternal()
879 if (!videoCallEnabled || numberOfCameras < 2 || isError || videoCapturer == null) { in switchCameraInternal()
881 + isError + ". Number of cameras: " + numberOfCameras); in switchCameraInternal()