Nicolas Werner
8b8a647cf9
chore: enable discarded_futures lint
...
BREAKING CHANGE: This changes the runInRoot method to not return a
future. As a user, if you need the result of an async computation passed
to runInRoot, please await it directly. Also the KeyVerification start
and a few call methods now return a future.
2023-11-17 12:59:27 +01:00
Nicolas Werner
a0970b7fcb
chore: don't manually enable default rules
2023-11-17 12:59:20 +01:00
Mohammad Reza Moradi
d5447c62f7
fix: hangup on call crash
2023-11-15 08:49:35 +01:00
Karthikeyan S
243275d644
Merge branch 'main' into karthi/fix-hangup-timeout
2023-11-06 17:31:22 +05:30
Nicolas Werner
37582a3a8e
fix: stale call checker leaks memory
2023-11-04 00:30:14 +01:00
Karthikeyan S
88110773ab
fix: call hangup on timeout race condition
2023-11-03 16:05:37 +05:30
td
66a53786e7
fix: do not proceed call if getUserMedia fails
...
fix: added a few missing awaits
fix: add a workaround for not having state updates for staleCallChecker till sync
chore: fix some logging
2023-07-10 14:19:16 +05:30
Malin Errenst
395ef0eb8e
refactor: Use tryGet for type casts whenever possible
2023-06-21 15:04:46 +02:00
Malin Errenst
5943576b1b
refactor: Added type casts to match refactored matrix_api_lite
2023-06-16 12:42:10 +02:00
td
26e0d0954d
chore: add missing awaits to to_device call events listener
2023-05-13 20:06:04 +05:30
td
8e4f4486b2
chore: add missing awaits to to_device call events listener
2023-05-13 20:05:09 +05:30
Nicolas Werner
a250384eca
Merge branch 'td/singleShotSyncBeforeStaleChecker' into 'main'
...
chore: oneShotSync before staleCallChecker
Closes famedly/company/product-management#658
See merge request famedly/company/frontend/famedlysdk!1284
2023-05-03 06:35:56 +00:00
td
444ba47022
chore: oneShotSync before staleCallChecker
...
fix: while singleShotStaleCallChecker code seems to be correct we are seeings some random disconnects in group calls, this makes sure we have all the to-device messages we are supposed to have before checking for stale calls
2023-04-29 19:47:13 +05:30
td
f240ece32c
fix: updateMuteStatus after kConnected
...
fix: makes sure any state/race issues we had with sdp packets or cloned streams get fixed automatically
2023-04-29 19:33:34 +05:30
td
046e2caf7d
fix: allow passing a WrappedMediaStream to GroupCall.enter() to use as the local user media stream
...
currently in the app we start the group call (but do not enter it), then we use the localStreams provided by it to show the setup page (enable/disable media devices). This causes some issues because the user hasn't joined the group call so the member state events don't update and the group call is killed if they just sit on the setup call page. Also creating a group call, sends notifications in our apps but no one has entered it. With this MR, apps can get their own user media, then edit that stream on setup page add it to GroupCall.enter(stream). This way, a group call doesn't have to be started and we get to do the setup page as well.
2023-04-25 14:18:45 +05:30
td
412bd71b23
Merge branch 'td/trySetTrackenabled' into 'main'
...
fix: update mute status on participants changed.
See merge request famedly/company/frontend/famedlysdk!1263
2023-04-13 14:57:04 +00:00
td
32ba85dc74
chore: stopMediaStream on all streams and make sure dispose runs everytime
2023-04-12 16:36:05 +05:30
td
05ba6368eb
fix: test if setting track enabled on participants changed helps with the media not working randomly issue
2023-04-06 01:18:09 +05:30
td
d8d111b1b4
chore: ignore stale call checking for archived rooms
2023-03-29 19:04:10 +05:30
td
b776e8f9df
Merge branch 'td/asyncmesh' into 'main'
...
fix: make group call stuff async, let clients await what they need
See merge request famedly/company/frontend/famedlysdk!1244
2023-03-03 15:03:32 +00:00
Nicolas Werner
99036ca178
Merge branch 'td/stopCheckerLeave' into 'main'
...
chore: stop stale group call checker on room leave
See merge request famedly/company/frontend/famedlysdk!1245
2023-03-03 12:43:27 +00:00
cloudwebrtc
f2e4126e0c
chore: update.
2023-02-27 21:02:30 +08:00
cloudwebrtc
380051ab07
fix: skip invalid candidate.
2023-02-27 20:59:38 +08:00
td
936018bebc
chore: remove checker from local list
2023-02-27 11:54:56 +05:30
td
fd4577ae84
chore: stop stale group call checker on room leave
2023-02-27 11:53:08 +05:30
td
9cb99377fb
fix: make group call stuff async, let clients await what they need
2023-02-24 22:31:10 +05:30
td
2d0fd9c393
fix: make group call stuff async, let clients await what they need
2023-02-24 22:17:27 +05:30
td
0c555919af
chore: add missing awaits in group call enter and leave funcs
2023-02-20 18:04:56 +05:30
td
7ce6595b3d
fix: ability to upgrade audio calls to video calls
...
fix: setMicrophoneMuted is now async to match setVideoMuted
2023-02-17 07:56:17 +05:30
td
0c9e129347
fix: clean expired member state events in group calls
2023-02-14 23:08:50 +05:30
td
1219604dc9
fix: hasActiveGroup call now checks all group calls
...
fix: implement activeGroupCallEvents to get all active group call state events in a room
refactor: move staleCallChecker and expires_Ts stuff to an extension on Room, instead of Voip because it makes much more sense per room rather than on voip, also makes testing easier
fix: populate local groupCalls list on instantiating VOIP()
fix: starting stale call checker is now handled by the sdk itself because clients can forget to do so
2023-02-14 15:02:28 +05:30
Nicolas Werner
dc444538bf
Merge branch 'td/expiresTsGroupCallMove' into 'main'
...
fix: move expires_ts according to spec (breaks group call compatibility with older sdks)
See merge request famedly/company/frontend/famedlysdk!1229
2023-02-01 09:23:17 +00:00
td
bdf2c01a5a
fix: move expires_ts according to spec (breaks group call compatibility with older sdks)
...
this fixes group calls with element calls
2023-01-31 19:17:29 +05:30
td
448b61191a
fix: reject call on own device if you get a call reject
2023-01-30 23:14:04 +05:30
td
47a8e32c57
Merge branch 'td/activeSpeaker' into 'main'
...
feat: active speaker in group calls
See merge request famedly/company/frontend/famedlysdk!1228
2023-01-30 12:38:25 +00:00
td
00154f3c78
feat: active speaker in group calls
2023-01-30 15:46:21 +05:30
td
ef0bf44b70
fix: missed incomingCallRoomId case in removing glare stuff during group calls
2023-01-28 03:42:58 +05:30
duanweiwei1982@gmail.com
0deb8d9e6e
fix: fix glare side effects for group calls.
2023-01-28 01:10:29 +08:00
td
169ac9c88c
Merge branch 'td/deprecateIsBg' into 'main'
...
chore: deprecate isBackground
See merge request famedly/company/frontend/famedlysdk!1225
2023-01-27 13:09:13 +00:00
Krille
f9c0fdca69
Merge branch 'td/stopRingtone' into 'main'
...
fix: try to stop ringtone on call termination
Closes famedly/company/product-management#531
See merge request famedly/company/frontend/famedlysdk!1220
2023-01-27 12:58:09 +00:00
td
8a1ca08d7c
Merge branch 'td/missedCallreject' into 'main'
...
fix: only send call reject event when needed
See merge request famedly/company/frontend/famedlysdk!1224
2023-01-27 12:56:45 +00:00
td
6246dd1301
chore: deprecate isBackground
...
This was used by callkeepv1 to fire a system notification or in call flutter screens on a new call, has always been set to false on web
2023-01-27 18:18:55 +05:30
td
d8ac3b337a
fix: try to stop ringtone on call termination
2023-01-27 17:57:53 +05:30
td
10e6b9b0e6
Merge branch 'voip/remove-call-in-group-calls-correctly' into 'main'
...
fix: Fix can't correctly remove/cleanup call in group call.
See merge request famedly/company/frontend/famedlysdk!1222
2023-01-27 12:23:19 +00:00
Duan Weiwei
8ed9913eb6
fix: Fix can't correctly remove/cleanup call in group call.
2023-01-27 12:23:18 +00:00
td
9a232580be
fix: send all servers for getIceServers
2023-01-27 12:05:07 +00:00
td
ce0bdd9dc6
fix: only send call reject event when needed
...
This is fixes rejects by missed calls, which should only reject a new call locally and not send a event if they are already in a call
2023-01-27 17:16:41 +05:30
td
441df7851b
Merge branch 'td/glare' into 'main'
...
fix: glare
Closes famedly/company/product-management#80
See merge request famedly/company/frontend/famedlysdk!1161
2023-01-23 06:48:09 +00:00
td
262b456010
fix: glare
2023-01-23 06:48:07 +00:00
td
5510049dec
fix: update groupCalls state stream
...
refactor: add a try catch around disposing streams. Decoding streams is broken in flutter_webrtc atm
2023-01-23 06:43:35 +05:30