The old method is marked deprecated and will be removed soon. The new method checks if all cameras on the device support better than legacy implementation of the camera2 API. BUG=webrtc:6390 Review-Url: https://codereview.webrtc.org/2354883002 Cr-Commit-Position: refs/heads/master@{#14350}
This directory contains an example unit test for Android AppRTCDemo. Example of building & using the app: - Build Android AppRTCDemo and AppRTCDemo unit test: cd <path/to/webrtc>/src ninja -C out/Debug AppRTCDemoTest - Install AppRTCDemo and AppRTCDemoTest: adb install -r out/Debug/apks/AppRTCDemo.apk adb install -r out/Debug/apks/AppRTCDemoTest.apk - Run unit tests: adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner