Update Android native API example to use real camera.
For simplicity, camera with index 0 is used. User also has to manually give the permission to use the camera for the app. Bug: webrtc:8769 Change-Id: I371f26f94d629411fd299671b4f3202e84556b80 Reviewed-on: https://webrtc-review.googlesource.com/76982 Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Reviewed-by: Paulina Hensman <phensman@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23284}
This commit is contained in:
committed by
Commit Bot
parent
09133af36f
commit
c475ac14a9
@ -12,8 +12,11 @@ rtc_android_apk("androidnativeapi") {
|
||||
|
||||
deps = [
|
||||
":resources",
|
||||
"//modules/audio_device:audio_device_java",
|
||||
"//sdk/android:camera_java",
|
||||
"//sdk/android:surfaceviewrenderer_java",
|
||||
"//sdk/android:video_api_java",
|
||||
"//sdk/android:video_java",
|
||||
]
|
||||
|
||||
shared_libraries = [ ":examples_androidnativeapi_jni" ]
|
||||
@ -58,7 +61,6 @@ rtc_shared_library("examples_androidnativeapi_jni") {
|
||||
"//modules/audio_processing",
|
||||
"//modules/utility:utility",
|
||||
"//pc:libjingle_peerconnection",
|
||||
"//pc:pc_test_utils",
|
||||
"//rtc_base:rtc_base",
|
||||
"//rtc_base:rtc_base_approved",
|
||||
"//sdk/android:native_api_base",
|
||||
|
||||
Reference in New Issue
Block a user