Commit Graph

92 Commits

Author SHA1 Message Date
Evan Hahn
d6ffb08a63 Disable class-methods-use-this lint rule 2021-11-04 16:04:51 -05:00
David Sanders
79b3b6408e Fix microphone permission checking for audio recording
See [#5580][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5580
2021-10-27 11:16:09 -05:00
Evan Hahn
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Evan Hahn
3c91dce993 Don't show group call start notifications more than once 2021-10-05 16:11:40 -05:00
Evan Hahn
fc066e05df Don't show "group call started" notifications for muted conversations 2021-09-29 15:29:40 -05:00
Evan Hahn
64fc234490 Use new audio device module in alpha and beta 2021-09-29 13:30:42 -05:00
Evan Hahn
e32503eed4 Import AudioDevice and VideoFrameSource directly from RingRTC 2021-09-28 11:37:03 -05:00
Evan Hahn
ed222fee9a Poll for devices when joining a group call 2021-09-28 11:35:40 -05:00
Fedor Indutny
8d1ab9fd69 Consistent scheduling of sendToGroup 2021-09-27 11:29:06 -07:00
Evan Hahn
7adfd1a4e7 Fix compile error: use bytesToUuid in calling service 2021-09-24 09:32:01 -07:00
Evan Hahn
9aa0de5b6c When a group call starts, show an OS notification 2021-09-24 09:01:01 -05:00
Fedor Indutny
4ef0bf96cc Uint8Array migration 2021-09-23 17:49:05 -07:00
Evan Hahn
d2ef82686d Notification improvements 2021-09-23 13:16:09 -05:00
Evan Hahn
04a4e6e5ff Upgrade RingRTC to v2.13.1 2021-09-23 08:49:33 -07:00
Fedor Indutny
b9d6497cb1 Better types for WebAPI 2021-09-21 17:58:03 -07:00
Josh Perez
65ddf0a9e8 Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
c7e7d55af4 UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Evan Hahn
cc52a94c76 Make sure RingRTC has our UUID 2021-09-07 09:21:17 -07:00
Evan Hahn
3e18a8a337 Don't ring large groups 2021-09-02 15:34:38 -07:00
Evan Hahn
f86f753df9 Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
Evan Hahn
0e7f641dc1 Let users ring members when starting a group call
Co-Authored-By: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2021-08-25 16:42:51 -05:00
Evan Hahn
79c976668b Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
1cc7c5dc2d Move getAlwaysRelayCalls to window.Events 2021-08-19 11:41:24 -07:00
Josh Perez
91af0dad78 Faster preferences window 2021-08-18 13:08:14 -07:00
Scott Nonnenberg
a42c41ed01 Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny
ddbbe3a6b1 More protobufjs migration 2021-07-09 12:36:10 -07:00
Fedor Indutny
299fe2af36 More protobufjs use 2021-07-02 14:21:24 -05:00
Scott Nonnenberg
615ae1ccf7 Refactor SendMessage.ts to named parameters 2021-07-02 13:34:17 -05:00
Fedor Indutny
d11283f0f1 Update RingRTC to v2.10.6 2021-06-29 09:39:53 -05:00
Fedor Indutny
9f0c630574 Move to protobufjs in ts/groups.ts 2021-06-22 09:46:42 -05:00
Fedor Indutny
8f5086227a Enforce stronger types for ArrayBuffers and storage 2021-06-14 17:09:37 -07:00
Scott Nonnenberg
bff3f0c74a Sender Key: Prepare for production 2021-06-08 14:51:58 -07:00
Josh Perez
d4875fd8f4 Remove isPrivate, isMe, isGroupV1, isGroupV2 from model 2021-06-07 09:39:13 -07:00
Scott Nonnenberg
e0d613f1b6 Use correct timestamps for failed call events 2021-06-03 15:19:14 -05:00
Fedor Indutny
5b18bb8563 Fix storybook for calling sources modal 2021-06-03 12:52:11 -07:00
Fedor Indutny
56f0e1ba46 Make sure screen name is internationalized 2021-06-03 11:42:30 -07:00
Josh Perez
38d4595e3b Fix camera setting when stopping screenshare 2021-06-02 13:41:28 -05:00
Scott Nonnenberg
ee513a1965 Support for message retry requests 2021-05-28 12:11:19 -07:00
Scott Nonnenberg
e6f1ec2b6b Send support for Sender Key 2021-05-25 15:40:04 -07:00
Josh Perez
ceffc2380c Add screensharing behind a feature flag 2021-05-20 17:37:19 -07:00
Evan Hahn
a82fa86176 Fetch sender certificates on-demand 2021-04-09 00:06:46 -04:00
AsamK
ea7a5449f1 Fix race condition which often prevented sending group call started message
The group call update message after starting a group call is currently only
sent in the onLocalDeviceStateChanged callback. But often the peekInfo is
not available yet when the connection state changes to Joined, effectively
preventing the group call update message to be sent.

This commit also sends the message in the onPeekChanged callback. It is still
only sent at most once, which is ensured by the updateMessageState check.

See [#5001][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5001
2021-04-02 15:32:04 -05:00
Jim Gustafson
245f8c665d Update to RingRTC v2.9.2 2021-02-04 11:54:18 -08:00
Evan Hahn
7af68ff74d Minor: remove unused exports from calling service 2020-12-17 12:12:52 -05:00
Evan Hahn
c87ffcd2e9 Call lobby: render local preview at camera's aspect ratio 2020-12-11 16:44:07 -08:00
Evan Hahn
a237946ba0 Disable camera when quickly toggling the call lobby 2020-12-10 10:39:39 -08:00
Evan Hahn
db0ebc5779 Update group membership for a group call when it changes 2020-12-09 15:21:34 -08:00
Evan Hahn
a142cb522e Send group call events to linked devices 2020-12-09 16:02:50 -06:00
Josh Perez
318013e83d Handles safety number changes while in a call 2020-12-08 14:37:04 -05:00
Evan Hahn
0c039bf431 Add group calling events to the message timeline 2020-12-07 14:43:19 -06:00