Ken*_* Ho 4 usb webcam camera android television
我目前正在尝试在 Android 电视机顶盒上开发 Android 视频会议应用程序。众所周知,Android 电视盒没有摄像头,因此我尝试使用 USB 网络摄像头,但操作系统无法识别 USB 摄像头并且无法从中检索视频源。
有没有办法确保我的 Android 应用程序能够从 USB 摄像头接收视频源?
谢谢你,如果我写的这个问题不恰当,我很抱歉,这是我第一次使用 Stackoverflow。
你有两个选择:
1) 找到支持外部摄像头的 Android TV 设备。来自Android 兼容性定义文档
第 7.5.3 节。外置摄像头
Device implementations MAY include support for an external camera that is not necessarily
always connected. If a device includes support for an external camera, it:
* MUST declare the platform feature flag
android.hardware.camera.external and android.hardware camera.any .
* MAY support multiple cameras.
* MUST support USB Video Class (UVC 1.0 or higher) if the
external camera connects through the USB port.
* SHOULD support video compressions such as MJPEG to enable transfer
of high-quality unencoded streams (i.e. raw or independently compressed picture streams).
* MAY support camera-based video encoding. If supported, a simultaneous
unencoded / MJPEG stream (QVGA or greater resolution) MUST be
accessible to the device implementation.
Run Code Online (Sandbox Code Playgroud)
或者
2) 创建您自己的自定义 ROM,这需要代码和驱动程序来满足上述要求。这很重要,涉及创建/集成/测试您自己的驱动程序,这对于 StackOverflow 问题来说太宽泛了。
| 归档时间: |
|
| 查看次数: |
20105 次 |
| 最近记录: |