Skip to content

🐛 Hangup call with MXCallHangupReasonInviteTimeout reason when invite expires#1341

Open
ferologics wants to merge 2 commits into
matrix-org:developfrom
globekeeper:call-invite-timeout-2
Open

🐛 Hangup call with MXCallHangupReasonInviteTimeout reason when invite expires#1341
ferologics wants to merge 2 commits into
matrix-org:developfrom
globekeeper:call-invite-timeout-2

Conversation

@ferologics

Copy link
Copy Markdown
Contributor

The iOS client MatrixSDK is using a 30 second timer that is initiated whenever a call invite is sent. Once it fires the state is set to ended, but only locally, and no .callHangup with inviteTimeout reason is sent. The PR corrects this to be in line with the m.call.hangup event specification:

invite_timeout for when the other party did not answer in time

Signed-off-by: Frantisek Hetes f.hetes@gmail.com

@danpe

danpe commented Jun 15, 2022

Copy link
Copy Markdown

@stefanceriu I believe we can also merge this as it matches the matrix spec?

@ismailgulek ismailgulek self-requested a review June 15, 2022 10:38
Comment thread MatrixSDK/VoIP/MXCall.m
}

// Send the notif that the call expired to the app
[self setState:MXCallStateInviteExpired reason:nil];

@ismailgulek ismailgulek Jun 15, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to keep this state change before sending hangup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants