Add a live camera preview during the media preflight
I maintainer di solito rispondono entro 1 giorno
@ChenYingHan1121 ci sta già lavorando.
Dal 21/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Problem
During the media preflight ("Check your setup"), candidates can verify whether their camera is working, but they cannot see their own camera feed.
This makes it difficult to check camera framing, face position, and lighting before starting an interview.
A live camera preview, similar to the pre-join screen in Google Meet, would help candidates adjust their camera setup before entering the interview.
Proposed Improvement
Add a live camera preview to the Camera section of the media preflight.
The preview should:
- Display the candidate's camera feed after camera access is granted.
- Use a mirrored view to make adjusting camera position more intuitive.
- Reuse the existing camera track without requesting a second camera stream.
- Hide or clear the preview when the camera is unavailable, disabled, or skipped.
- Preserve the existing face-presence detection behavior.
- Be visible only during the media preflight, not during the interview itself.
Technical Investigation
The existing implementation already obtains and uses the camera stream for face-presence detection.
In web/face-check.js, createFaceCheck() attaches the active camera track to a hidden video element:
video.srcObject = new MediaStream([trackOf()]);
await video.play?.().catch(() => {});
In web/interview.html, the video element is:
<video
id="camera-integrity-video"
class="hidden-media"
muted
playsinline
></video>
This suggests that the preview could reuse the existing camera track without another getUserMedia() call.
A separate visible video element may help keep the preview independent of the face-presence detection element.
Relationship to Existing Work
Related to #141 and PR #143.
Issue #141 focuses on displaying the candidate's webcam during the interview.
This proposal is specifically for the pre-interview media preflight ("Check your setup"), allowing candidates to adjust their camera framing and lighting before starting.
The preview would be limited to the preflight stage and would reuse the existing camera track without interfering with face-presence detection.
I understand that this is related to the existing webcam preview work, and I would appreciate confirmation that it is appropriate to track separately.
Question
Would this preflight-only camera preview be a useful addition to CodeTrial?
If the proposed scope is acceptable, I would be happy to implement it and add browser regression tests.
- Lingua principale
- Rust
- Stelle
- 177
- Fork
- 100
- Merge medio
- 1g 11h
- PR unite (30g)
- 182
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sysprog21/codetrial
-
Selecting a pen color leaves Example drawing in eraser modeForse già presa @Aa99841 l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
sysprog21/codetrial#437 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Python tests lose every result when the solution returns inf or NaNForse già presa @shensyuan l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
sysprog21/codetrial#419 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Allow deselecting a chosen problem card by clicking it againForse già presa @woohsin l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
sysprog21/codetrial#392 · 4 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Audio output can be confirmed without playing a test soundForse già presa @ChenYingHan1121 l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
sysprog21/codetrial#359 · 5 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Add a Copy code button to the final reportForse già presa @yansawu l’ha presa 6 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
sysprog21/codetrial#318 · 6 commenti · 2 reazioni · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di sysprog21/codetrial
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
farion1231/cc-switch#8829 ·
I maintainer di solito rispondono entro 1 giorno
-
bug ci good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
longbridge/gpui-kit#3677 ·
I maintainer di solito rispondono entro 1 giorno
-
E-pr-welcome
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
seanmonstar/reqwest#3121 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
ilya-zlobintsev/LACT#1235 ·
I maintainer di solito rispondono entro 1 giorno