Friday, November 27, 2026

Jitsi TV HD: Native 720p @ 30fps USB Webcam Video Calls on Sony BRAVIA Android TV

Note: This is a personal hobby project built with AI-assisted coding and debugging to solve a specific Sony BRAVIA Android TV USB webcam issue at home.

Getting smooth 720p video calls working on a Sony BRAVIA 4K VH2 (Android 12 / armeabi-v7a) with a USB webcam like the Logitech MX Brio turned out to be much trickier than expected—so I built and open-sourced a native Android TV Jitsi Meet client: github.com/mghadam/jitsi-tv.

The Problem

  • Broken Camera2 / V4L2 HAL at HD: Sony BRAVIA's built-in MediaTek MtkCamera3 V4L2/MJPEG HAL times out (v4l2CameraInit: iResult -8 / VIDIOC_DQBUF EAGAIN) at 720p and 1080p with many USB webcams, leaving only 480p YUV reliable through standard Camera2.
  • WebView Bottlenecks: Browser/WebView getUserMedia shims top out around 8–11 fps at 720p due to WebView IPC overhead.

The Solution

Instead of going through Android's Camera2 HAL or a WebView, Jitsi TV HD combines:

  • The native Jitsi Meet Android SDK (11.6.3)
  • A patched react-native-webrtc AAR (CameraCaptureController.class stripped so a custom controller can drop right in)
  • An in-process libuvc (UVCAndroid) VideoCapturer that streams 1280×720 @ 30fps NV21 frames directly into WebRTC's hardware H.264 encoder (OMX.MTK.VIDEO.ENCODER.AVC, ~12.6 ms/frame, ~2.0 Mbps) using pooled byte buffers for zero-GC capture

The webcam's USB microphone works natively through Android's AudioManager, and the app includes a simple D-pad–friendly TV launcher where you can enter and save your Jitsi server URL, room name, and display name.

Hardware Tip

On Sony BRAVIA 4K VH2, plug the USB webcam directly into the blue USB 3.0 (900mA / HDD REC) port for stable power and bandwidth.

Source Code & Setup

The full source code, build instructions, and ADB deployment commands are available on GitHub (Apache 2.0):
https://github.com/mghadam/jitsi-tv

No comments:

Post a Comment

Jitsi TV HD: Native 720p @ 30fps USB Webcam Video Calls on Sony BRAVIA Android TV

Note: This is a personal hobby project built with AI-assisted coding and debugging to solve a specific Sony BRAVIA Android TV USB webcam iss...