2017-01-10 7 views
0

現在、Android TVのセットトップボックスでAndroidビデオ会議アプリケーションを開発しようとしています。私たち全員が知っているように、Android TVボックスにはカメラが搭載されていないため、USBウェブカメラを使用しようとしましたが、OSはUSBカメラを認識せず、ビデオフィードを取得できません。Androidアプリ(TV-box)がUSBウェブカメラを認識またはアクセスする方法を教えてください。

私のAndroidアプリケーションがUSBカメラからビデオフィードを受信できることを確認する方法はありますか?

ありがとう、私はこの質問を不適切に書いた場合はごめんなさい、それは私の初めてのStackoverflowを使用しています。

1)は、外部カメラ(複数可)をサポートしているのAndroid TVデバイスを探す:

答えて

1

次の2つの選択肢があります。からAndroid Compatibility Definition Document

セクション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. 

OR

2)上記の要件を満たすために、コードおよびドライバを持つ必要となる、独自のカスタムROMを作成します。これは簡単なことではなく、StackOverflowの質問には広すぎる独自のドライバの作成/統合/テストが必要です。

関連する問題