Skip to content
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

🐛 Hangup call with MXCallHangupReasonInviteTimeout reason when invite expires #1341

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ferologics
Copy link
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 [email protected]

@danpe
Copy link

danpe commented Jun 15, 2022

@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
}

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

@ismailgulek ismailgulek Jun 15, 2022

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