David Baker
701dfa09b4
Merge pull request #1510 from matrix-org/dbkr/hang_up_your_hangups
...
Support m.call.reject
2020-10-19 09:57:00 +01:00
David Baker
08c15e7203
Merge pull request #1515 from matrix-org/dbkr/remove_specbuild
...
Remove specbuild from .gitignore
2020-10-16 17:56:02 +01:00
David Baker
9b9e52d0a2
Remove specbuild from .gitignore
...
It's no longer a thing
2020-10-16 17:47:31 +01:00
David Baker
38cc8fe7dc
Merge pull request #1514 from matrix-org/dbkr/log_candidate_send_error
...
Log the error when we failed to send candidates
2020-10-16 16:52:05 +01:00
David Baker
590fac0fa9
Log the error when we failed to send candidates
2020-10-16 16:46:07 +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
David Baker
4cc4b28c47
Merge pull request #1503 from matrix-org/dbkr/call_state_machine
...
Fixes for call state machine
2020-10-13 10:39:10 +01:00
David Baker
fad9b4c67f
Merge pull request #1506 from matrix-org/dbkr/fix_event_listener_remove
...
Fix call event handler listener removing
2020-10-12 14:17:53 +01:00
David Baker
ade3b3a021
Fix call event handler listener removing
...
Wrong kind of event emitter...
2020-10-12 14:12:34 +01:00
RiotRobot
d8c4101fdd
Merge branch 'master' into develop
2020-10-12 13:18:23 +01:00
RiotRobot
a12c250f2b
v8.5.0
v8.5.0
2020-10-12 13:15:07 +01:00
RiotRobot
57eef2d832
Prepare changelog for v8.5.0
2020-10-12 13:15:06 +01:00
David Baker
b67a179a54
Merge pull request #1501 from matrix-org/dbkr/set_type_based_on_tracks
...
Set the type of the call based on the tracks
2020-10-12 11:42:40 +01:00
David Baker
06044b39c3
Merge pull request #1499 from matrix-org/dbkr/new_age_calls
...
Use new local timestamp for calls
2020-10-12 11:42:28 +01:00
J. Ryan Stinnett
d16cf26c5f
Merge pull request #1502 from matrix-org/jryans/sso-4s-integration
...
Adjust types and APIs to match React SDK
2020-10-12 11:41:06 +01:00
J. Ryan Stinnett
b060c5af38
Tune crypto types
2020-10-12 11:01:00 +01:00
David Baker
b28bad651e
Make events names an enum
2020-10-12 10:15:58 +01:00
David Baker
5c4b7a3213
Add user_hangup error code
...
but special case it for now & don't send it: it needs voip v1
2020-10-09 18:51:35 +01:00
David Baker
7f21c591ae
Fixes for call state machine
...
* Set 'connecting' state before sending answer, otherwise it can
race with ICE connecting
* Ignore completed ice connection state: connected is what we care about
* Null-check remotestream when stopping media
* Comments
2020-10-09 18:45:45 +01:00
David Baker
65b24f595c
Missed a reference to callList
2020-10-09 18:14:00 +01:00
David Baker
9d9c2720c2
Hopefully make if statement clearer
2020-10-09 17:43:40 +01:00
David Baker
f845100062
add 'public' to public method
2020-10-09 17:43:34 +01:00
David Baker
e6155f9e37
Use MatrixClient as type
...
and different array syntax
2020-10-09 17:43:28 +01:00
J. Ryan Stinnett
e9590e9093
Adjust types and APIs to match React SDK
...
Various small tweaks and alignments to match React SDK as part of TypeScript
conversion.
Part of https://github.com/vector-im/element-web/issues/15350
2020-10-09 17:21:14 +01:00
David Baker
49f2d1501c
Set the type of the call based on the tracks
...
Remove the old hack of inspecting the SDP which no longer seems to
be necessary.
2020-10-08 15:42:39 +01:00
J. Ryan Stinnett
c6819e0450
Omit stack trace if rehydration fails
2020-10-08 15:11:46 +01:00
David Baker
f518ea95f4
Use getLocalAge() & add grace period
...
Use the new local-age field for deciding whether a call is still
valid or not. Also add a grace period so we don't ring half a second
before the call becomes invalid.
2020-10-08 11:49:54 +01:00
David Baker
92c6332143
use more enums
2020-10-08 11:32:32 +01:00
David Baker
0df1a7da21
copyright header
2020-10-08 11:12:39 +01:00
David Baker
487a9c0967
Extract the call event handler out to its own class
...
and convert it to TypeScript
2020-10-08 11:10:20 +01:00
David Baker
fb89761671
Merge pull request #1495 from matrix-org/dbkr/age_is_just_a_number
...
Make an accurate version of 'age' for events
2020-10-08 09:29:16 +01:00
David Baker
d1d3ae074d
Add tests & fix some bugs found by said tests
2020-10-07 18:29:33 +01:00
David Baker
7dedaf90c3
Add a test for the age mangling
2020-10-07 18:04:20 +01:00
David Baker
687b98a09d
Don't add localTs if an event has no age
2020-10-07 17:39:19 +01:00
David Baker
c6b2e9873c
Merge pull request #1498 from matrix-org/dbkr/call_options_is_optional
...
Make 'options' parameter optional
2020-10-07 17:15:26 +01:00
David Baker
1e80491675
Make 'options' parameter optional
...
It's deprecated so generally nothing should be passing it
2020-10-07 17:08:21 +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
452e8ea385
Merge pull request #1494 from matrix-org/revert-1493-revert-1487-dbkr/tsify_call
...
Convert call.js to Typescript & update WebRTC APIs (re-apply)
2020-10-07 15:36:27 +01:00
David Baker
a189de9a2e
Add comment on mass event copying
2020-10-07 15:32:22 +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
RiotRobot
293860b6c5
v8.5.0-rc.1
v8.5.0-rc.1
2020-10-07 14:18:52 +01:00
RiotRobot
07667172cd
Prepare changelog for v8.5.0-rc.1
2020-10-07 14:18:52 +01:00
J. Ryan Stinnett
f5240cdac6
Merge pull request #1467 from uhoreg/fallback_keys
...
Add support for olm fallback keys
2020-10-07 10:24:12 +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
Michael Telatynski
03fc12e888
Merge pull request #1492 from matrix-org/t3chguy/fix/10545
...
Fix editing local echoes not updating them in real time
2020-10-07 00:15:16 +01:00
Hubert Chathi
e05a50528e
make test no longer dependent on emscripten internals
2020-10-06 19:01:01 -04: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
Michael Telatynski
8ec3b88c5d
Update comments
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-10-06 22:55:34 +01:00