moq-video: WGC delivers up to twice the asked frame rate
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 58/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- audio-video-rtc
Línea de trabajo
Read rs/moq-video/src/capture/win32.rs, wgc/native.rs, and capture/channel.rs to trace how Pace and FrameChannel::repeating schedule frames. Start by reproducing the reported 1 fps case with changing desktop content, then add a mocked clock or Xvfb test to verify the stream stays within its requested rate when a new frame and repeat are due together.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
A Windows Graphics Capture stream asked for 1 fps delivers about 1.5 fps: windows_picture_cost (rs/moq-video/src/capture/win32.rs, from https://github.com/moq-dev/moq/pull/10316) read 15 frames in 10 seconds from a 2560x1440 display.
Two independent clocks hand out frames:
wgc/native.rspaces new frames withPace, at most one per interval.FrameChannel::repeating(capture/channel.rs) repeats the held frame once the interval passes without a new one.
Neither knows about the other, so when both come due together, a repeat goes out and the paced new frame follows a moment later. On a desktop that changes now and then (a clock, the cursor), a reader gets up to twice the asked rate.
Fix direction: one clock decides when a frame is due. For example, the channel could treat the next repeat as the next pacing slot, so a new frame takes the repeat's place rather than following it. An Xvfb or unit test with a mocked clock can pin the rate.
(Written by Claude Opus 5.5)
- Lenguaje dominante
- Rust
- Estrellas
- 1.6k
- Forks
- 251
- Merge medio
- 10 h 10 min
- PR fusionados (30 d)
- 832
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de moq-dev/moq
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Bump the quest flake input past kixel-ai/quest#1202 (Codex reviews use the config's gateway)Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de moq-dev/moq
Issues similares
-
Mobile release verification reports missing build inputs with a custom Cargo target directoryAbiertobug good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsotto/sotto-authenticator#139 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
registrystack/registry-stack#2924 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
foundry-rs/starknet-foundry#4733 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100