My camera (Insta360 Link) only supports up to 1080p with MJPG, but it supports 4K (3840x2160) with H264. If I select H264, regardless of resolution, the camera feed is corrupted. It shows noise / colorful dots at the top, and a frozen image from the camera underneath it:
