Skip to content

Lobby: warn when the camera can't actually deliver the selected quality preset #6

Description

@Realmullens

Pick "1080p" or "4K" in the lobby with a 720p webcam and you silently record at whatever the camera gives you. Users only find out after the session.

Proposal
After getUserMedia resolves in the lobby (web/src/components/Lobby.tsx), compare videoTrack.getSettings().width/height against the preset from buildConstraints (web/src/lib/media.ts). If it falls short, show a small non-blocking warning under the preview ("Your camera delivers 1280×720 — recording will be 720p").

Good first issue because: self-contained in two files, no server changes, easy to verify in the browser with any webcam (or Chromium's fake device, which is 640×360 by default — handy for testing the warning itself).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions