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

Properly implement sip.stop() to fully stop the underlying pjsip/pjmedia engines #117

Open
MayamaTakeshi opened this issue Sep 28, 2024 · 0 comments

Comments

@MayamaTakeshi
Copy link
Owner

Currently, we need to have this at the end of our tests:

sip.stop()
process.exit(0)

The call to process.exit(0) is necessary because there are threads still alive (created by pjsip/pjmedia) and so the script doesn't exit by itself.

So, we should stop all threads, close transports, stop streams etc.
(see function pjsua_destroy).

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

1 participant