Skip to content

Feat/refactor driver context#158

Merged
imaTik0 merged 17 commits into
develfrom
feat/refactor-driver-context
Apr 23, 2026
Merged

Feat/refactor driver context#158
imaTik0 merged 17 commits into
develfrom
feat/refactor-driver-context

Conversation

@imaTik0
Copy link
Copy Markdown
Member

@imaTik0 imaTik0 commented Apr 2, 2026

No description provided.

Paweł Aniszewski added 16 commits April 1, 2026 09:04
dependency fix
… conditions

KeyStore no longer stores raw key bytes — keys are imported into
CryptoFacade on setKeys() and immediately discarded. EncryptTransform
operates on keyIds only, eliminating raw Uint8Array key material from
worker memory after import.

CryptoFacade.importKey renamed to importKeyAndWipeMaterial to make the
zeroing behaviour explicit at the call site.

Race conditions in stream tests fixed:
- updateKeys now awaits a setKeys-ack from the worker, guaranteeing keys
  are applied before any frames are processed
- Data channel messages arriving before a listener is registered are
  buffered per room and drained on addRemoteStreamListener
- Removed hardcoded 5s delay between peer connection reconfigurations
  in Queue that caused multi-user subscription timeouts

Dead commented-out code removed from WebWorkerHelper.
@imaTik0 imaTik0 marked this pull request as ready for review April 14, 2026 08:58
@imaTik0 imaTik0 requested a review from zurekz April 14, 2026 08:58
@imaTik0 imaTik0 merged commit 599df5e into devel Apr 23, 2026
1 check passed
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.

2 participants