Skip to content

v0.3.1 - カメラデバイスロック競合の修正

Choose a tag to compare

@GoodLight999 GoodLight999 released this 04 Jul 23:51
· 2 commits to main since this release

変更内容 / Changes

Bug Fix (Critical)

  • v0.3.0のカメラ起動率低下を修正: v0.3.0で導入したdetach方式がカメラデバイスのロック競合を引き起こし、スリープ復帰時の初回成功率が約50%に低下していた問題を修正
  • カメラopen/リトライを全て1つのワーカースレッドで順次実行する方式に変更。デバイスロック競合が発生しない設計
  • リトライ間隔を500ms→1000msに延長(ドライバ再初期化の余裕を確保)

Fixed camera device lock contention (Critical)

  • Fixed camera open success rate regression in v0.3.0: The detach-based timeout approach caused DirectShow device lock contention - detached threads continued holding the camera lock, causing all subsequent retry workers to also fail
  • Camera open/retry logic now runs entirely on a single dedicated worker thread, eliminating device lock contention
  • Retry interval increased from 500ms to 1000ms to give drivers more time to re-initialize

No Warranty / 品質保証なし