Robert Long
b4d8c0b603
Fix updating member state with no existing calls
2021-10-22 11:27:02 -07:00
Robert Long
3b0d1b2696
Add check for existing group call session
2021-10-21 14:23:27 -07:00
Robert Long
305de54106
Fix screensharing and webrtc races
2021-10-21 12:57:30 -07:00
Robert Long
0555f9db1c
Only send to device messages to a single device
2021-10-19 17:05:21 -07:00
Robert Long
8131b3900d
Use glare resolution to manage group call setup
2021-10-19 15:30:20 -07:00
Robert Long
e9b52e23d2
Rermove session id
2021-10-19 10:57:09 -07:00
Šimon Brandner
0148ad0766
Group call improvements ( #1985 )
...
* Add group call events to EventType
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Use EventType instead of a const
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Make logging around sending group call member state event a bit better
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
* Fix m.calls elements being null
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-19 10:25:47 -07:00
Robert Long
50e6a8f6b1
Add session_id check to group calls
2021-10-18 11:49:04 -07:00
Šimon Brandner
843973c4da
Remove left-over from old screen-sharing code
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-15 17:19:22 +02:00
Robert Long
015d0f9135
Don't set local user as active speaker
2021-10-14 17:14:12 -07:00
Robert Long
5c8e7f2be0
Improve speaking detection using history
2021-10-14 13:34:20 -07:00
Robert Long
2d231c0ae2
Fix how streams are stopped
2021-10-13 12:05:14 -07:00
Robert Long
ec37eb8b6f
Add support for switching media devices
2021-10-12 15:20:14 -07:00
Robert Long
8dc608d917
Fix connecting to a call without a webcam
2021-10-07 13:47:50 -07:00
Robert Long
7ef38ed1b2
Fix speaking threshold
2021-10-06 16:20:07 -07:00
Robert Long
593f62c1c4
Move to correct event types
2021-10-05 16:51:28 -07:00
Robert Long
04d674b8c7
Merge branch 'SimonBrandner-robertlong/group-call' into robertlong/group-call
2021-10-05 11:42:00 -07:00
Robert Long
27eb88f4a1
Update GroupCall to use new CallFeed constructor
2021-10-05 11:38:03 -07:00
Šimon Brandner
8232896c85
Don't run screen-sharing code for each 1:1 call, share one call feed between them instead
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-05 06:17:01 +02:00
Šimon Brandner
8ac3841a2f
Handle joining a call after someone has started screen-sharing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-10-05 06:16:59 +02:00
Robert Long
8be4ca909e
Add participants to GroupCall
2021-10-04 15:36:36 -07:00
Robert Long
0d964523a9
Add screensharing to GroupCall
2021-09-30 16:04:15 -07:00
Robert Long
bb504bc001
Handle getUserMedia permissions blocked
2021-09-30 11:39:34 -07:00
Robert Long
3f4522ba88
Add more verbose logging for testing. Create group calls on first sync.
2021-09-29 16:22:44 -07:00
Robert Long
1e65bfd316
Fix initLocalCallFeed state
2021-09-29 14:35:32 -07:00
Robert Long
7a142e9102
Implement new group call state events
2021-09-27 17:06:09 -07:00
Šimon Brandner
cf1ba12232
Use arrays of CallFeeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:22 +02:00
Šimon Brandner
df208e4de8
Avoid having duplicate call feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:22 +02:00
Šimon Brandner
2515ba31a0
Use createNewMatrixCall()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:21 +02:00
Šimon Brandner
a2f23900c9
Use groupCallId isntead of roomId in to-device messages
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:21 +02:00
Šimon Brandner
205c80ea28
Add groupCallId
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:20 +02:00
Šimon Brandner
678023717b
Add a setState() method
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:20 +02:00
Šimon Brandner
b535969845
Use to-device messages in group calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-27 18:07:20 +02:00
Robert Long
96f48929ac
Cleaning up group call state
2021-09-24 15:41:05 -07:00
Robert Long
454da84f6e
Initialize activeSpeakerSamples
2021-09-24 13:29:23 -07:00
Robert Long
89bda6c2e5
Move from groupCallsParticipants to calls
2021-09-24 12:39:43 -07:00
Robert Long
9c7cb3cbea
Handle more edge cases around creating/ending group calls
2021-09-22 15:03:48 -07:00
Šimon Brandner
9996afed03
Throw with no room
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-22 21:00:18 +02:00
Šimon Brandner
61a80a11c9
Export CONF_ROOM
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-09-22 21:00:18 +02:00
Robert Long
fe0a268991
Merge branch 'robertlong/group-call' of github.com:matrix-org/matrix-js-sdk into robertlong/group-call
2021-09-21 17:11:12 -07:00
Robert Long
7f189b0abd
Add endCall
2021-09-21 17:10:45 -07:00
Robert Long
6e07c9e900
Clean up group call event listeners properly on hangup
2021-09-21 14:48:22 -07:00
Robert Long
bbeea51a36
Add callType to room state event
2021-09-21 14:24:51 -07:00
Robert Long
18986cb33a
Fix typo
2021-09-20 17:31:02 -07:00
Robert Long
aef5d73de4
Fix emitting participants_changed event
2021-09-20 17:30:49 -07:00
Robert Long
2d7e07f4ed
Update to use latest datachannel / clone media stream PRs
2021-09-15 12:45:42 -07:00
Robert Long
fb3ca90bc9
Fix private method signatures
2021-09-10 16:06:26 -07:00
Robert Long
eb2a47623f
Fix active speaker
2021-09-10 15:58:44 -07:00
Robert Long
f18d8ead08
Fix usermedia feeds
2021-09-10 14:31:39 -07:00
Robert Long
7021f70a66
Move from constants to configureable public variables
2021-09-09 16:24:26 -07:00