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

Disconnect the call after speficified time is not implemented? #4

Open
itsecres-nandant opened this issue Jan 12, 2020 · 2 comments
Open

Comments

@itsecres-nandant
Copy link

how to disconnect the call after playing the audio?

@bakatrouble
Copy link
Owner

You can try using multithreading to check whether there are any files to play left (call.input_files) and use call.discard_call() to hangup it when needed

@afeno
Copy link

afeno commented Feb 2, 2022

Hi,
Did you manage to implement the timeout?
I need help to finish the call after X seconds.

Thank you!

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

3 participants