Skip to content

USB Camera

Federico Marin edited this page Nov 6, 2020 · 6 revisions

Feature

Since Bandyer Android SDK v1.5.9 has been added the capability to use USB cameras during the video call.

When an usb camera is attached during an audio video call to the device, the publishing of the camera's video starts automatically until the camera is connected to the device.

To connect an USB camera please check that the device supports the OTG (USB On-The-Go) feature.


Please keep in mind that the USB camera feature is not supported on Android 10 due to issues in the AOSP project. Those issues has been resolved in the Android 11 codebase so the usb camera feature is available again since API level 30.


Usage

To import the plugin extension please add the following line to your app's build.gradle dependencies as well as the Bandyer Android SDK.

Bandyer-Android-Extension-UsbCamera current version:

Download

implementation "com.bandyer:bandyer-android-sdk:$bandyerLibVersion"

implementation "com.bandyer:extension_usb_camera:$bandyerExtensionUsbCamera"
Clone this wiki locally