cornerstoneTools icon indicating copy to clipboard operation
cornerstoneTools copied to clipboard

playClip works better when timer fires slowly

Open horner opened this issue 2 years ago • 1 comments

Video Demo

https://youtu.be/C6jsGZfL82s

Description

This change makes playClip playback keep real time by dropping missed frames if the computer cannot keep up with the requested framerate. Without this change, providers perceive playback to "slow down." With this change, the playback is always kept to "real time" at the expense of dropping frames that must be skipped.

horner avatar Dec 09 '22 07:12 horner

Codecov Report

Merging #1519 (744a892) into master (925a3dd) will decrease coverage by 0.00%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #1519      +/-   ##
==========================================
- Coverage   21.70%   21.69%   -0.01%     
==========================================
  Files         287      287              
  Lines       10137    10141       +4     
  Branches     2081     2081              
==========================================
  Hits         2200     2200              
- Misses       6750     6754       +4     
  Partials     1187     1187              
Impacted Files Coverage Δ
src/stackTools/playClip.js 0.78% <0.00%> (-0.03%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Dec 09 '22 07:12 codecov[bot]