Commit Graph

2172 Commits

Author SHA1 Message Date
Hugh Nimmo-Smith
d1e90939b1 Lint 2024-12-02 18:50:50 +00:00
Hugh Nimmo-Smith
40526cb7c1 Developer setting to show non-member tiles
This is based on top of https://github.com/element-hq/element-call/pull/2701
2024-12-02 18:49:11 +00:00
Hugh Nimmo-Smith
e4087b2b45 Lint 2024-12-02 18:33:14 +00:00
Hugh Nimmo-Smith
79ea8d9741 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-12-02 18:31:21 +00:00
Hugh Nimmo-Smith
70deaf0e57 Fix tests for CallEventAudioRenderer 2024-12-02 18:30:04 +00:00
Will Hunt
cc260811e2 Add a lower limit to duplicate tiles. (#2854)
* Add a limit to duplicate tiles.

* missed a change
2024-12-02 17:15:33 +00:00
Hugh Nimmo-Smith
a37e8fdb82 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-12-02 15:44:32 +00:00
Hugh Nimmo-Smith
a37c3bfb48 Show hostname in developer settings (#2857)
Also refactored developer settings labels into own locale section
2024-12-02 15:43:19 +00:00
Will Hunt
ea6f2952af Add sound effect for call joined / left (#2794)
* Add renderer for call joined / left

* lint

* Add new sounds

* Updates sounds in renderer

* lint

* move import

* pad sounds with silence

* lint

* tidy

* Drop autoplay since we now subscribe correctly.

* Comitting test files I am going to be going to lunch so will tidy up in a little while.

* finish up tests

* Add support for multiple channels per sound.

* lint
2024-12-02 15:16:58 +00:00
Hugh Nimmo-Smith
370d8bd5d5 Review feedback 2024-12-02 14:45:20 +00:00
Hugh Nimmo-Smith
7fdcbb3292 Use if statement instead of ternary for readability in spotlight and pip logic 2024-12-02 14:35:33 +00:00
Hugh Nimmo-Smith
33f398ddcf Refactor spotlightAndPip into spotlight and pip 2024-12-02 14:10:31 +00:00
Hugh Nimmo-Smith
968de5eeeb Use named object instead of unnamed array for spotlightAndPip 2024-12-02 14:00:12 +00:00
Hugh Nimmo-Smith
3d0bfaefe8 Make the purpose of BaseMediaViewModel.local explicit 2024-12-02 13:53:40 +00:00
Hugh Nimmo-Smith
743638dfc4 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-12-02 13:33:04 +00:00
renovate[bot]
e142493380 Update all non-major dependencies (#2852)
* Update all non-major dependencies

* prettier

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Timo <toger5@hotmail.de>
2024-12-02 12:10:20 +01:00
Timo
84b2dc8680 Use light background
- the icons and the font is dark so the bg should not be darkened. But making it lighter is making it easier to read.
2024-11-29 17:48:18 +01:00
Timo
65e962bf1b Fix wrong hand raise margins in pip tile. (#2840) 2024-11-28 17:24:24 +00:00
Timo
28da8c48da Mute state improvements including muting if skipLobby=true in SPA (Based on #2834) (#2846) 2024-11-28 18:05:12 +01:00
Hugh Nimmo-Smith
133dc26642 Update src/state/CallViewModel.ts
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
2024-11-27 14:47:31 +00:00
Hugh Nimmo-Smith
cc1f0d5d19 Update src/tile/SpotlightTile.tsx
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
2024-11-27 14:46:14 +00:00
Timo
52cb3938ef Use correct key for matrix rtc foci in code comment. (#2838) 2024-11-27 14:44:12 +00:00
Timo
765f7b4f31 Make the loading state more subtle
- instead of a label we show a animated gradient
2024-11-26 12:59:06 +01:00
Hugh Nimmo-Smith
8f9bee79ae Don't show "waiting for media..." in case of local participant 2024-11-25 21:30:54 +00:00
Hugh Nimmo-Smith
16666b8933 Additional test case 2024-11-25 21:23:18 +00:00
Hugh Nimmo-Smith
4f2591feae Show "waiting for media..." when no participant 2024-11-25 21:17:20 +00:00
Hugh Nimmo-Smith
b819a72c57 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-25 20:35:48 +00:00
Hugh Nimmo-Smith
cf174261c9 Some simple initial tests for MediaView (#2813)
* Some simple tests for MediaView

* Use jest-dom assertions

* Add tests for videoMuted

* Add test case for placeholder video track

* Revert yarn.lock changes

* More revert

* Deduplicate test case logic and improve names

* Use role and label
2024-11-25 20:22:02 +00:00
Hugh Nimmo-Smith
e0651c59e0 Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-23 14:58:55 +00:00
Hugh Nimmo-Smith
fc8da6ef58 Use hot marbles for speaker tests (#2815)
* Refactor the speaker detection logic into observeSpeaker and add tests

@robintown the tests pass, but some of the values were off by 1ms from what I was expecting. Please can you sanity check them?

* Extra test cases and clean up

* Make distinctUntilChanged part of the observable itself

* More suggestions from code review

* Use hot marbles for speaker tests

This was originally part of https://github.com/element-hq/element-call/pull/2810

* Only feed speaking mocks to observables that ask for IsSpeakingChanged
2024-11-23 08:59:33 +00:00
Hugh Nimmo-Smith
4e1b4fae19 Refactor the speaker detection logic into observeSpeaker and add tests (#2814)
* Refactor the speaker detection logic into observeSpeaker and add tests

@robintown the tests pass, but some of the values were off by 1ms from what I was expecting. Please can you sanity check them?

* Extra test cases and clean up

* Make distinctUntilChanged part of the observable itself

* More suggestions from code review
2024-11-23 08:59:15 +00:00
Hugh Nimmo-Smith
5c18868aa4 The preload URL param shouldn't be used in SPA mode, so ignore it if not in widget (#2832)
* Refactor URL parameters into table

This is for readability and ahead of some possible changes

* Whitespace

* Lint

* The preload URL param shouldn't be used in SPA mode, so ignore it
2024-11-23 08:55:03 +00:00
Robin
51e4a3b14b Don't trigger keyboard shortcuts if modifiers are held
None of these keyboard shortcuts expect modifier keys, so they should in fact expect the absence of modifiers.
2024-11-22 13:17:05 -05:00
Robin
0718774cef Clarify how preferred devices work 2024-11-21 11:32:15 -05:00
Robin
a2b452c1d8 Don't override the camera without pressing "switch camera" 2024-11-21 11:24:45 -05:00
Robin
465a784345 Merge branch 'livekit' into device-fall-back 2024-11-21 11:04:36 -05:00
Robin
8de96878c0 Merge pull request #2803 from robintown/device-radio
Replace device dropdowns with radio buttons
2024-11-21 10:47:44 -05:00
Hugh Nimmo-Smith
ee8038fefa Use asObservable when exposing subject 2024-11-21 11:32:03 +00:00
Hugh Nimmo-Smith
8f62cb675c Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-21 11:28:30 +00:00
Hugh Nimmo-Smith
b7b9771577 Use hot test input marbles instead of cold (#2810)
* Use hot test input marbles instead of cold

These will be needed for https://github.com/element-hq/element-call/pull/2701

* Revert for "spotlight speakers swap places" test
2024-11-21 11:03:16 +00:00
Hugh Nimmo-Smith
3885eefa4c Disambiguate between types of "member" (#2807)
We have Matrix room members and MatrixRTC session memberships. Livekit also has rooms.

So, this attempts to make it more obvious as to what type you are referring to.
2024-11-21 11:02:05 +00:00
Hugh Nimmo-Smith
9176e06195 Some tsdoc and explicit typing (#2809)
* Some tsdoc and explicit typing

Pulled out of https://github.com/element-hq/element-call/pull/2701

* Extra typing
2024-11-21 11:01:43 +00:00
Hugh Nimmo-Smith
bc90deb91b Merge branch 'livekit' into toger5/tiles_based_on_rtc_member 2024-11-20 17:36:49 +00:00
Robin
3ab9bb72e2 Revert "Init client with a memory store (for MSC4222) (#2764)"
This reverts commit 83fa9661cf. We won't need this hack once we're no longer using a matrix-js-sdk branch with MSC4222 support.
2024-11-20 10:22:42 -05:00
Robin
38085baab8 Replace device dropdowns with radio buttons
This is closer to what the designs actually want device settings to look like, and it avoids the visual glitch in which the dropdown would render underneath the slider.
2024-11-20 09:44:32 -05:00
Hugh Nimmo-Smith
8891a9a70e Make it clearer what are inputs and what are expected outputs in test cases (#2808)
Rationale: try and make the marbles section of each test case more readable
2024-11-20 14:44:23 +00:00
Hugh Nimmo-Smith
3f11f51ff0 Whitespaces 2024-11-20 12:34:20 +00:00
Hugh Nimmo-Smith
1c04d22a5b . 2024-11-20 12:29:40 +00:00
Hugh Nimmo-Smith
a63d44af0c Simplify diff
These changes are in https://github.com/element-hq/element-call/pull/2809
2024-11-20 12:28:10 +00:00
Hugh Nimmo-Smith
18e7ca567c Simplify diff 2024-11-20 12:14:41 +00:00