Šimon Brandner
c4e7c149a4
Type cleanup
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2020-12-26 18:09:38 +01:00
David Baker
7046fa3224
Revert "Ignore party ID if opponent is v0"
2020-12-21 13:48:06 +00:00
David Baker
f3ee164a7d
Basic call transfer initiation support
...
Sends an m.call.replaces event and flag for whether to advertise
support.
MSC2747 (https://github.com/matrix-org/matrix-doc/pull/2747 )
2020-12-15 14:51:29 +00:00
David Baker
34882cc438
Merge pull request #1532 from matrix-org/dbkr/call_hold
...
Implement call holding functionality
2020-11-10 08:41:26 +00:00
Travis Ralston
ae77f900ef
Fix spelling error in the server ACL event type
2020-11-02 12:51:15 -07:00
David Baker
33d1a33a17
Implement call holding functionality
...
Using m.call.negotiate
2020-10-29 17:54:54 +00:00
David Baker
8712703f7c
Support m.call.select_answer
...
Only send one if the answer has a party_id set
Also change some event types to the enum and rename receivedAnswer
to be more consistent
2020-10-21 11:52:58 +01:00
David Baker
7c3af91b42
Support m.call.reject
...
Start the migration to v1 VoIP by supporting m.call.reject, which
we'll send if the caller says they're v1. Our version stays as v0
for now, until we speak the rest of v1.
Honour the default reaosn in a hangup being user_hangup.
2020-10-15 14:51:05 +01:00
Michael Telatynski
a727da9193
Merge pull request #1497 from matrix-org/t3chguy/fix/14804
...
Create a giant event type enum
2020-10-07 16:48:39 +01:00
Michael Telatynski
0b7754581a
Update src/@types/event.ts
...
Co-authored-by: Travis Ralston <travpc@gmail.com >
2020-10-07 16:32:04 +01:00
David Baker
8632ca6e37
Merge remote-tracking branch 'origin/develop' into revert-1493-revert-1487-dbkr/tsify_call
2020-10-07 15:16:21 +01:00
Michael Telatynski
7529d2b638
Create a giant event type enum
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-10-07 09:57:56 +01:00
Hubert Chathi
356ee90417
lint
2020-10-06 18:33:45 -04:00
Hubert Chathi
5dced57724
bump olm release again and fix global.d.ts to work with the olm TS definitions
2020-10-06 17:55:40 -04:00
David Baker
81c95224d1
Revert "Revert "Convert call.js to Typescript & update WebRTC APIs""
2020-10-06 15:21:45 +01:00
David Baker
5733f46f4c
Revert "Convert call.js to Typescript & update WebRTC APIs"
2020-10-06 15:16:32 +01:00
David Baker
53880a4bb2
This is how plurals work
2020-10-06 10:54:51 +01:00
David Baker
7471ff4b0d
Make setSinkId reliable
...
As per comment, this seems to be the way to make setSinkId work reliably on Chrome.
Also don't make our own mediastreams if we don't need to (ie. in a normal call
our tracks should come with their owen MediaStreams).
2020-10-03 16:57:33 +01:00
David Baker
cc4656b36a
Update call.js to use new WebRTC APIs
...
and some other related & semi-related refactoring
2020-10-01 19:15:49 +01:00
David Baker
a78b59010a
Convert call.js to Typescript
...
This does a fairly basic rewriting of the whole file to bring it up
to a vaguely modern standard of code. Nothing should have changed
fundamentally, but it probably should do: as per the global type
overrides, we use a lot of deprecated WebRTC APIs and should probably
update.
2020-09-30 18:54:48 +01:00
Hubert Chathi
6bdbee533c
TypeScript and doc fixes
2020-09-14 18:53:48 -04:00
Michael Telatynski
8cca3392f6
fix localStorage type
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 12:03:25 +01:00
Michael Telatynski
77a1fc9e60
Convert bunch of things to TypeScript
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-04-21 11:45:54 +01:00