Skip to content

fix: make render video waiters request the target frame before awaiting #30

@ubugeeei

Description

@ubugeeei

Finding

Canvas-frame waiters can wait for a target frame without actively requesting that frame, which can hang or observe stale frames depending on render timing.

Evidence

  • src/lib/video/video-render.tsx wait path.
  • src/lib/vue.tsx duplicates similar behavior.
  • render/src/main.rs drives frame-by-frame capture.

Acceptance criteria

  • Ensure waitCanvasFrame sends/refreshes the target frame request before awaiting.
  • Keep React and Vue implementations consistent.
  • Add a small regression check if feasible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions