Commit graph

19 commits

Author SHA1 Message Date
David Baker
54babddb38 Support glare for VoIP calls
The js-sdk supports glare but we didn't support it, which means the
js-sdk will still do glare but we didn't know about it, leaving the
UI in horribly broken states where the js-sdk would be on a call but
the app didn't think it was.

Fixes https://github.com/vector-im/element-web/issues/5770
2020-10-13 15:08:23 +01:00
David Baker
414901dfae More enums 2020-10-12 11:38:32 +01:00
David Baker
abd5e3b3cf More enums 2020-10-12 10:25:23 +01:00
David Baker
3af7abb5fe This comment is no longer true 2020-10-12 09:56:43 +01:00
David Baker
94802036d9 AudioId -> AudioID 2020-10-12 09:55:21 +01:00
David Baker
55f77b04ae Rewrite call state machine
* Remove the two separate enumerations of call state: now everything
   uses the js-sdk version of call state. Stop adding a separate
   'call_state' field onto the call object(!)
 * Better reflection of the actual state of the call in the call bar,
   so when it's connecting, it says connecting, and only says 'active call'
   when the call is actually active.
 * More typey goodness
2020-10-09 18:56:07 +01:00
Travis Ralston
cca9b91aca
Merge pull request #5171 from matrix-org/travis/widget-api
Switch to using the Widget API SDK for widget messaging
2020-10-01 10:16:01 -06:00
David Baker
648b93c133
Merge pull request #5267 from matrix-org/dbkr/fix_call_preview
Fix the call preview when not in same room as the call
2020-10-01 11:44:39 +01:00
David Baker
a45b7e50cd Fix the call preview when not in same room as the call
Classic failure of an ES6 map also being a regular object :(

Fixes https://github.com/vector-im/element-web/issues/15343
2020-10-01 11:28:42 +01:00
Travis Ralston
f27071ee64 Transition all remaining messaging over (delete the old stuff) 2020-09-30 20:20:31 -06:00
Travis Ralston
b46f58274e Fix the hangup button and other custom actions 2020-09-30 20:09:23 -06:00
Travis Ralston
555bcc6010 Document remaining (known) cases to fix 2020-09-29 15:32:18 -06:00
Travis Ralston
bfa269a848 Update copy 2020-09-29 10:20:54 -06:00
Travis Ralston
a20d2af102 Incorporate changes into new call handler 2020-09-28 13:53:44 -06:00
David Baker
eb0a4a5fb9 type the action payload 2020-09-24 18:30:30 +01:00
David Baker
10338798d9 map-ify audioPromises 2020-09-24 18:28:46 +01:00
David Baker
4269c26e76 map-ify calls map 2020-09-24 18:18:26 +01:00
David Baker
adc93ca7d6 add ts-ignore for js-sdk as per comment 2020-09-24 16:42:59 +01:00
David Baker
8962f7ae9e Convert CallHandler to typescript
and remove the old conference call stuff while we're at it: enough
time should have passed since those mistakes that we can move on.
The old conference call rooms will still appear for anyone whose
account dates back to that time, but they've presumably been appearing
in any other matrix client they used too.
2020-09-24 16:16:20 +01:00