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

how to handle CANCEL event of INCOMING CALL #34

Open
giangndm opened this issue Sep 27, 2024 · 5 comments
Open

how to handle CANCEL event of INCOMING CALL #34

giangndm opened this issue Sep 27, 2024 · 5 comments

Comments

@giangndm
Copy link
Contributor

I ran the accept_invite demo and successfully received calls. However, when the caller cancels the call, the acceptor seems to doesn’t have a method or event to detect this.

@kbalt
Copy link
Owner

kbalt commented Sep 27, 2024

Hey, if everything is working correctly then calls to acceptor should return Error::RequestTerminated if a cancel request is received while processing the invite.

@giangndm
Copy link
Contributor Author

@kbalt But is is only happen in case callee accept or reject call. My issue is about how to trigger event to callee (app or web) right after caller cancelled the call.

@kbalt
Copy link
Owner

kbalt commented Sep 27, 2024

Hi, I've quickly build an POC of how the Acceptor could notify the user of the cancellation in #35 maybe you could try that out?

@giangndm
Copy link
Contributor Author

@kbalt Sure, I will check it now

@giangndm
Copy link
Contributor Author

@kbalt Thank you very much, I just checked and it works as expected.

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

No branches or pull requests

2 participants