David Baker
d9fc9e82ab
Fix another cause of split-brain rooms
...
Wait for the client to start syncing before we attempt to join a
room.
Fixes https://github.com/vector-im/element-call/issues/600 (detailed
bug analysis is also in that issue).
2022-09-23 10:50:42 +01:00
Robin Townsend
1e65f10d3f
Merge branch 'main' into simplify-maximised
2022-09-23 00:29:29 -04:00
Robin Townsend
de0df4b534
Further simplify the maximised speaker view
2022-09-22 17:52:05 -04:00
Robin Townsend
f78cf6e79a
Don't allow the user to fullscreen their own screenshare feed
2022-09-22 17:35:23 -04:00
David Baker
6355aa863c
Fix scroll bug in spotlight view
...
This was a confusion between indicies of the tile and the tile position:
the spotlight tile is the 0th TilePosition, ie. the tile with order
0, not the tile with index 0.
Also comment one method to hopefully make this slightly easier to
understand.
2022-09-22 12:03:57 +01:00
Robin Townsend
89fa9dfd64
Only maximise a participant when the window is narrow, too
2022-09-16 10:23:23 -04:00
Robin Townsend
4a08ae75b3
Make the maximised prop of VideoTile optional
2022-09-16 10:21:41 -04:00
Robin Townsend
9e367db324
Maximise the active speaker when the window is small
2022-09-14 19:05:05 -04:00
Timo
f71817b0a2
fix logout ( #577 )
...
Co-authored-by: Timo K <timok@element.io>
2022-09-13 16:48:04 +02:00
Robin
73d09bc99c
Merge pull request #576 from robintown/unpersist
...
Unpersist widget after hanging up
2022-09-13 08:34:41 -04:00
Robin Townsend
8725b2c230
Unpersist widget after hanging up
...
Otherwise it can get stuck on screen in Element Web.
2022-09-12 22:54:20 -04:00
Robin Townsend
fd18f2acdf
Don't kill other sessions when running as a widget
2022-09-12 15:37:39 -04:00
Robin Townsend
b7be3011da
Add widget actions for joining and leaving calls and switching layouts
...
These actions are processed lazily to ensure that even if the app takes a while to start up, they won't be missed.
2022-09-09 02:14:12 -04:00
Robin Townsend
f0045c9406
Initialize all widget-related things at the top level
2022-09-09 02:09:12 -04:00
Robin Townsend
3186b5f24b
Add a URL parameter for hiding the room header
2022-09-09 02:04:53 -04:00
David Baker
70dffe95ff
Handle groupcall being null
2022-09-07 11:42:37 +01:00
David Baker
0360889fd6
Log ID instead of object
...
as otherwise it recurses and logs the entire client + store
2022-09-06 15:11:45 +01:00
David Baker
ee1dd2293e
Use new method to wait until a room is ready fopr group calls
...
We were waiting for the group call event handler to process the room,
but only if we couldn't get the room from the client - if getRoom returned
a room, we just wouldn't wait. This just uses promises rather than
an event to wait for the room to be ready.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/2641
2022-09-06 11:57:07 +01:00
David Baker
30c9dfce02
Remove unused import
2022-09-01 13:36:02 +01:00
David Baker
48ad4d040d
Actually wait for the right event
...
& update js-sdk dependency
2022-09-01 13:32:11 +01:00
David Baker
1b4f097b1c
Fix bug where additional group calls could be created
...
This (hopefully) fixes the remaining bug where extra group calls
could be created when entering a room.
We waited for the Room event to arrive, but didn't wait for the
group call event handler to actually process the event, so it would
have depended what order the event handlers were run in.
If this doesn't fix it, it at least adds logging so we'll have more
to go on next time.
Fixes https://github.com/vector-im/element-call/issues/563
2022-09-01 11:41:22 +01:00
David Baker
e7353e184f
Fix groupcall debug info in rageshakes
...
We were putting the whole array from setState in, so the debug info
was wrapped in an array when it shouldn't be.
Also comment the groupCallInspector setState/context dance which I
now *finally* understand.
2022-08-25 11:43:47 +01:00
David Baker
c550545116
Fix 'submit debug logs' checkbox in the rageshake form
...
Fixes https://github.com/vector-im/element-call/issues/550
2022-08-23 20:29:41 +01:00
Šimon Brandner
a2a6eaf695
Update-jssdk
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-19 17:26:02 +02:00
Šimon Brandner
af7daee3e7
Handle screen-sharing feed ending
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-19 17:16:57 +02:00
Robin Townsend
2b45cf1f67
Convert UnauthenticatedView to TypeScript
2022-08-18 18:48:24 -04:00
Robin Townsend
ba4258aa89
Fix the call type selector
2022-08-18 18:48:17 -04:00
Šimon Brandner
fc0a3f38ac
Merge pull request #512 from vector-im/SimonBrandner/fix/audio
2022-08-16 10:07:55 +02:00
Šimon Brandner
c7ce689739
Fix spatial audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-15 15:11:51 +02:00
Šimon Brandner
fa0a8d30e7
Fix audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-15 15:11:20 +02:00
Šimon Brandner
b57ef84e66
Filter out local streams
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-15 15:05:30 +02:00
Šimon Brandner
719156aadf
Fix the Feedback modal not being closable
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 10:42:57 +02:00
Šimon Brandner
0720005c93
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 09:01:32 +02:00
Šimon Brandner
897f127fbd
Check for audio track count
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 09:01:16 +02:00
Šimon Brandner
fd8ade1bf1
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 09:00:36 +02:00
Šimon Brandner
7f6b0f572b
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 08:57:49 +02:00
Šimon Brandner
317f27e5f9
Don't re-run hook on every mute
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-13 18:44:11 +02:00
Šimon Brandner
b2427bd810
Handle audio-less
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-13 18:29:30 +02:00
Šimon Brandner
4ac5c2c677
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
2022-08-13 18:28:27 +02:00
Šimon Brandner
2234962acc
Fix handling of streams with no audio tracks
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-13 18:19:31 +02:00
Robin
8f95da4b07
Merge pull request #518 from robintown/logout-lost-sessions
...
Log out lost sessions
2022-08-13 09:38:40 -04:00
Robin Townsend
3d5421819f
Stop the temporary client
2022-08-12 20:13:52 -04:00
Robin Townsend
5167cacee8
Log out lost sessions
...
To prevent sessions from piling up quite as much
2022-08-12 17:58:29 -04:00
Robin Townsend
882eed0737
Remove top level matrix-js-sdk imports
2022-08-12 16:46:53 -04:00
Šimon Brandner
e82ed2cbcb
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 20:54:04 +02:00
Šimon Brandner
05466fbd7f
Merge pull request #513 from vector-im/SimonBrandner/fix/slider
2022-08-12 20:50:29 +02:00
Šimon Brandner
2bfd26b2b5
Fix spelling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 20:48:39 +02:00
Robin Townsend
88cffdb70e
Fix a case where someone's audio could be missing if the audio track
...
arrived late
2022-08-12 14:24:19 -04:00
Timo
51ae1c819a
typescript src/video-grid
( #511 )
2022-08-12 19:27:34 +02:00
Šimon Brandner
8176d60d96
Show name in 1:1 calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 10:33:59 +02:00
Šimon Brandner
2ce99b969d
Fix the look of volume slider on Firefox
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 10:25:58 +02:00
Šimon Brandner
8b97904144
Fix full-screen audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 09:53:44 +02:00
Šimon Brandner
0e34f9a464
Add useAudioOutputDevice()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 09:36:46 +02:00
Timo
c09380644b
typescript src/tabs
, src/typography
( #491 )
...
* first iteration
* tabs generic - remove as from typography
* typography using React.component function
* comma mistake
* ...
* review + add back `as` option for typography.
* linter
* quick fix
* us location descriptor
2022-08-11 17:59:00 +02:00
Robin Townsend
2a1689009a
Extract state event capabilities into a variable
2022-08-09 09:43:12 -04:00
Robin Townsend
5ef3b055ff
Merge branch 'main' into matroska
2022-08-09 09:03:02 -04:00
Timo
f554afd6b1
typescript src/input
( #487 )
2022-08-09 11:44:46 +02:00
Šimon Brandner
5474693711
Merge pull request #502 from vector-im/SimonBrandner/feat/fullscreen
2022-08-09 10:29:26 +02:00
Robin Townsend
f9a41be530
Merge branch 'main' into matroska
2022-08-08 14:46:24 -04:00
Šimon Brandner
c61bc46673
Use useCallback()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-08 20:05:44 +02:00
Šimon Brandner
dd304d3569
Add missing type
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-08 20:05:15 +02:00
Šimon Brandner
2eff251e0c
Add missing space
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-08 20:01:58 +02:00
Šimon Brandner
531db48c25
Show toolbar only on toolbar hover
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-08 14:22:49 +02:00
Šimon Brandner
96123ccf63
Fix presenter label
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:21:11 +02:00
Šimon Brandner
305c2cb806
Add support for screen-sharing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:09:45 +02:00
Šimon Brandner
9af122b96e
Add useFullscreen()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:05:49 +02:00
Šimon Brandner
7ca08f2f30
Add FullscreenButton
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:04:59 +02:00
Šimon Brandner
c7dbfca53d
Add icons
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-07 19:04:00 +02:00
Matthew Hodgson
8aa66dddfd
fix mirror text on FF by reverting weird css hack.
...
this reverts some of d1368f4622
it's very unclear why the width of the preview was pushed out to 100%+1px (and the transform then flipped to 1.01)
but i see no ill effects on having reverted it.
2022-08-07 02:43:59 +01:00
Robin Townsend
eb43b96a1b
Merge branch 'main' into matroska
2022-08-05 16:16:59 -04:00
Timo
baebfdb0bb
typescript src/popover
( #488 )
2022-08-03 12:22:07 +02:00
Robin Townsend
89312ceb58
Fix types
2022-08-02 13:31:11 -04:00
Robin Townsend
9b915d289b
Fix a crash
...
CallEvent.SendVoipEvent is sent with a raw dictionary, not an actual
MatrixEvent.
2022-08-02 13:21:44 -04:00
Šimon Brandner
3de8f9077d
Merge pull request #493 from vector-im/SimonBrandner/feat/volume-design
2022-08-02 18:00:50 +02:00
Šimon Brandner
90b4e44bbe
Fix screen-sharing and uncomment
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 16:09:53 +02:00
Šimon Brandner
bd25b7f3b7
Improve look of toolbar
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 16:05:36 +02:00
Šimon Brandner
85dfb3c1e5
Don't use a gradient
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:53:47 +02:00
Šimon Brandner
d16e42374f
Use ::before
to avoid conflicts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:51:50 +02:00
Šimon Brandner
d56b802786
Make modal title thicker
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:46:15 +02:00
Šimon Brandner
93db217239
Update where we jump form icon to icon
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:31:16 +02:00
Šimon Brandner
33ef680c41
Update design of VideoTileSettingsModal
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:30:33 +02:00
Šimon Brandner
a150619d08
Make the button icon change
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:30:12 +02:00
Šimon Brandner
7d5fb5f041
Add VolumeIcon
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:29:32 +02:00
Šimon Brandner
e824b3cfe2
Update icons
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 14:28:52 +02:00
Šimon Brandner
cd885e3b3a
Add hover gradient
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 13:51:05 +02:00
Šimon Brandner
005622800d
Fix tooltip (again)
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 13:50:47 +02:00
Šimon Brandner
aef4fd39b9
Add env var for background-85
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 13:33:09 +02:00
Šimon Brandner
2e57eaad1d
Fix var name
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 12:45:21 +02:00
Šimon Brandner
a5d5f75f52
Add hover effect back
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 12:43:27 +02:00
Šimon Brandner
130073689d
Fix button tooltip
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-02 12:38:09 +02:00
Timo
2d99acabe2
typescript src/room
( #437 )
2022-08-02 00:46:16 +02:00
Šimon Brandner
0e5231ba43
Make buttons only visible on hover
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 19:29:28 +02:00
Šimon Brandner
e62d76a6f2
Use more vars
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 19:26:56 +02:00
Šimon Brandner
ce55ed8221
Use vars
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 19:24:28 +02:00
Šimon Brandner
c5e7fe7bdc
Merge remote-tracking branch 'upstream/main' into SimonBrandner/feat/volume-design
2022-08-01 19:23:07 +02:00
Šimon Brandner
68172d12b0
Make tslint pass
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 19:04:43 +02:00
Šimon Brandner
44ce76bcb1
Get volume button inline with design
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-01 18:58:59 +02:00
Timo
44b9bd0046
Merge pull request #485 from toger5/ts_Form+Home
2022-08-01 18:20:59 +02:00
Šimon Brandner
a679bfcd95
Add missing copyrights
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-31 22:11:46 +02:00
Šimon Brandner
44315f327b
Add missing extends
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-31 22:09:33 +02:00