Fix stallDurations metadata buffer, add web=true, rebuild provider

- Increase camera metadata buffer from 2048 to 4096 bytes to prevent
  silent truncation of stallDurations (required by Android 16)
- Add web=true to module.prop for KernelSU WebUI detection
- Rebuilt virtual_camera_provider with buffer fix
- Updated WebUI JS with improved status display
- Bump version to 3.1
This commit is contained in:
2026-05-14 20:23:36 +02:00
parent ef0d17680f
commit 0e399ce02f
7 changed files with 70 additions and 29 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ kill -9 $(pgrep -f camera-provider-2-7-google) 2>/dev/null || true
# Reload v4l2loopback (rmmod first to clear stale params like exclusive_caps)
rmmod v4l2loopback 2>/dev/null || true
sleep 1
insmod "$MODDIR/v4l2loopback.ko" devices=1 video_nr=0 card_label="VirtualCam" 2>/dev/null || true
insmod "$MODDIR/v4l2loopback.ko" devices=2 video_nr=0,1 card_label="VirtualCam" 2>/dev/null || true
# Copy provider binary and AIDL libs
PROVIDER_DST="/data/local/tmp/virtual_camera_provider"