Commit Graph

11 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
3a125183fe Merge branch 'livekit' into hs/leave-call-sound 2024-12-11 09:45:37 +00:00
Hugh Nimmo-Smith
0087e37f30 Enable @typescript-eslint/consistent-type-imports lint rule (#2886)
* Enable @typescript-eslint/consistent-type-imports lint rule

This is to help ensure that we get proper vite/rollup lazy loading by not `import`ing more than we need to.

Revert "Enable @typescript-eslint/consistent-type-imports lint rule"

This reverts commit ba385fa00b7e410cc508fd5fb9fe972233ae114f.

Enable @typescript-eslint/consistent-type-imports lint rule

This is to help ensure that we get proper vite/rollup lazy loading by not `import`ing more than we need to.

.

* Format
2024-12-11 09:27:55 +00:00
Half-Shot
30ca842d63 lint 2024-12-09 11:53:09 +00:00
Half-Shot
59e8e76969 merge 2024-12-09 11:52:22 +00:00
Will Hunt
a8a95c3f00 Ensure call sound effects are played over the correct sink (#2863)
* Refactor to use AudioContext

* Remove unused audio format.

* Reduce update frequency for volume

* Port to useAudioContext

* Port reactionaudiorenderer to useAudioContext

* Integrate raise hand sound into call event renderer.

* Simplify reaction sounds

* only play one sound per reaction type

* Start to build out tests

* fixup tests / comments

* Fix reaction sound

* remove console line

* Remove another debug line.

* fix lint

* Use testing library click

* lint

* fix a few things

* Change the way we as unknown the mock RTC session.

* Lint

* Fix types for MockRTCSession

* value change should always be set

* Update volume slider description.

* Only load reaction sound effects if enabled.

* cache improvements

* lowercase soundMap

* lint

* move prefetch sounds to fix hot reload

* correct docs

* add a header

* Wording change

---------

Co-authored-by: Hugh Nimmo-Smith <hughns@element.io>
2024-12-09 11:39:16 +00:00
Half-Shot
b7f55a43f8 lint 2024-12-05 11:38:37 +00:00
Half-Shot
c5f297d108 lint 2024-12-05 11:35:01 +00:00
Half-Shot
1f331807d1 lint 2024-12-05 11:32:43 +00:00
Half-Shot
0adacd0d50 Use testing library click 2024-12-05 11:29:15 +00:00
Half-Shot
d8857283bb fixup tests / comments 2024-12-05 10:15:48 +00:00
Half-Shot
a5c3d5c29d Start to build out tests 2024-12-03 17:00:42 +00:00