-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Various CallKit and ElementCall fixes #2975
Conversation
stefanceriu
commented
Jun 27, 2024
•
edited
Loading
edited
- fixes video stream problems
- hooks up muting to call kit but keeps it disabled for now as EC doesn't expose a way to forward the events yet
- infers remote hangups and cancels local ringing
Generated by 🚫 Danger Swift against 8c1f4a7 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #2975 +/- ##
===========================================
- Coverage 77.96% 77.77% -0.20%
===========================================
Files 695 695
Lines 54001 54107 +106
===========================================
- Hits 42103 42081 -22
- Misses 11898 12026 +128
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
897b806
to
6ee7cda
Compare
6ee7cda
to
670c4b2
Compare
- not completely sure why this happens but `reportOutgoingCall` interferes with how the WebView gets access to video streams - the call itself isn't really necessary so removing it is the simplest way forward
670c4b2
to
f1dd27d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
@@ -155,6 +155,13 @@ class RoomProxy: RoomProxyProtocol { | |||
subscribeToTypingNotifications() | |||
} | |||
|
|||
func subscribeToRoomInfoUpdates() { | |||
roomInfoObservationToken = room.subscribeToRoomInfoUpdates(listener: RoomInfoUpdateListener { [weak self] in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should guard that roomInfoObservationToken == nil
or similar before continuing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I initially figured this should really do anything if not guarded but now that you mentioned it it might produce unwanted side effects on the rust side.
On the other hand I'm wondering, should we always subscribe to this as soon as the RoomProxy is created? It's really weird to hook into that publisher and have nothing coming in because you forgot to call this 🤔
f1dd27d
to
8c1f4a7
Compare
Quality Gate passedIssues Measures |