Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

パケットキューをPCR間隔で処理する、など #4

Merged
merged 4 commits into from
Jun 5, 2022
Merged

パケットキューをPCR間隔で処理する、など #4

merged 4 commits into from
Jun 5, 2022

Conversation

xtne6f
Copy link
Contributor

@xtne6f xtne6f commented Jun 5, 2022

ba8e9e6 はソースコメントにあった、キューの処理間隔や不要なパケットを削る場所の課題を解決したものです。
0e819fe は表題通りです。TVTDataBroadcastingWV2.ts 側には以前の配列方式のものも残っているのでプラグイン(.tvtp)が以前のものでも動作します。
4155d1c はWebView2起動完了までの数秒間にたまったキューも使うことで、データ放送画面が出るまでの時間を削減できます。こちら低スペック環境なので起動まで5秒近くかかり、この差が意外に効きます。

すでに一週間ほど試用しているので大きなバグはないと信じますが、以上よろしくお願いします。

このほうが有意に軽い
(環境が良くて計測困難なら再生オフして4倍速ぐらいで再生してみる)
単純に転送量が減るのと、JavaScriptの型なし配列を経由せずに済むからと予想
@otya128 otya128 merged commit b382452 into otya128:master Jun 5, 2022
@xtne6f xtne6f deleted the pr-queue-improvement branch June 5, 2022 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants