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

Calling close on an incoming UNANSWERED call does not fire the outgoing call's close event #1312

Open
1 task done
vladmashk opened this issue Jan 4, 2025 · 1 comment
Labels
bug unconfirmed not yet verified as an issue

Comments

@vladmashk
Copy link

Please, check for existing issues to avoid duplicates.

  • No similar issues found.

What happened?

(Note, issues #636, #734, #752, #780, #832, #1032, #1084, #1089 and undoubtably more are similar to this, however they are all about calling close on an answered call, so the fix for this (commit e3b67a6) doesn't fix this issue.)

If Alice calls Bob and Bob 'declines' the call by calling close on it without answering it, Alice's call doesn't fire the close event.

I have found that you can work around this by having Bob answer the call without passing a stream and then call close on the call after a small amount of time. However, this seems like a hack. It shouldn't have to work this way.

How can we reproduce the issue?

  1. Alice calls Bob
  2. Bob calls close on the call without answering
  3. The close event handler that Alice has set doesn't execute

What do you expected to happen?

The close event handler that Alice has set DOES execute

Environment setup

  • OS: Windows 11
  • Platform:
  • Browser: Chrome, Firefox

Is this a regression?

No response

Anything else?

No response

@vladmashk vladmashk added bug unconfirmed not yet verified as an issue labels Jan 4, 2025
@vladmashk vladmashk changed the title Calling close on an incoming **UNANSWERED** call does not fire the outgoing call's close event Calling close on an incoming UNANSWERED call does not fire the outgoing call's close event Jan 4, 2025
@therealPaulPlay
Copy link

I am also experiencing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unconfirmed not yet verified as an issue
Projects
None yet
Development

No branches or pull requests

2 participants