feat: add playback speed support for replay.gz and cast.gz#113
Open
Wanpl-Java wants to merge 1 commit into
Open
feat: add playback speed support for replay.gz and cast.gz#113Wanpl-Java wants to merge 1 commit into
Wanpl-Java wants to merge 1 commit into
Conversation
- Patch guacamole-common-js-jumpserver with setSpeed/getSpeed for Gua replay - Add speed selector UI to guaPlayer and asciinemaPlayer (0.75x/1x/1.5x/2x) - Apply Guacamole patch automatically via patch-package on install Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
为离线播放器增加
.replay.gz/.part.gz和.cast.gz倍速播放支持(0.75x / 1x / 1.5x / 2x)。Changes
guacamole-common-js-jumpserver:新增setSpeed()/getSpeed(),调整帧调度实现 Gua 录像倍速guaPlayer:控制栏增加倍速下拉框asciinemaPlayer:Asciinema 不支持运行时改速,切换倍速时重建播放器并保持进度patch-package在postinstall自动应用 Guacamole 补丁Test plan
.replay.gz,切换倍速,播放进度连续.cast.gz,切换倍速,从当前位置继续yarn install后 patch 自动生效