This is noticeable especially when looking at CLI with black background.
In mjpeg stream, black background is not completely black, color picker indicates RGB(16,16,16) a very faint grey.
In webrtc(H264) stream, black background is perfect black, RGB(0,0,0)
Expected behavior
mjpeg and webrtc should have same color range, same white/black levels.
Screenshots


Desktop:
- OS: Windows 10
- Browser: Chrome, Firefox
- Version: 100.0.4896.127(Chrome), 99.0.1(FF)
PiKVM info:
- Raspberry Pi board version: Raspberry Pi 4 model B
- PiKVM platform: v3.3 HAT
- Video capture type: v3 HAT
- KVMD version: 3.90-1
- uStreamer version: 5.4-1
- Linux kernel: 5.15.34-1-rpi-ARCH
Additional context
white level is also slightly different, in webrtc stream full white and full black is #ffffff and #000000, while in mjpeg stream they are slightly washed.
This is also present in USB dongle/loop capture, but noticeable only in black levels (full white seems to be correct)
This is noticeable especially when looking at CLI with black background.
In mjpeg stream, black background is not completely black, color picker indicates RGB(16,16,16) a very faint grey.
In webrtc(H264) stream, black background is perfect black, RGB(0,0,0)
Expected behavior
mjpeg and webrtc should have same color range, same white/black levels.
Screenshots


Desktop:
PiKVM info:
Additional context
white level is also slightly different, in webrtc stream full white and full black is #ffffff and #000000, while in mjpeg stream they are slightly washed.
This is also present in USB dongle/loop capture, but noticeable only in black levels (full white seems to be correct)