live-streaming-starter-kit icon indicating copy to clipboard operation
live-streaming-starter-kit copied to clipboard

error while running test_suit.py with microphone

Open albertumyarov opened this issue 10 months ago • 0 comments

Error while sending: Task <Task pending coro=<run..sender() running at /Users/albertoumiarov/PycharmProjects/deepgram2/test_suite.py:101> cb=[gather.._done_callback() at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py:664]> got Future <Future pending> attached to a different loop 🔴 ERROR: Something went wrong! Task <Task pending coro=<run..sender() running at /Users/albertoumiarov/PycharmProjects/deepgram2/test_suite.py:101> cb=[gather.._done_callback() at /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py:664]> got Future <Future pending> attached to a different loop

I fixed it by moving audio_queue definition and microphone call back function inside run function

albertumyarov avatar Apr 09 '24 17:04 albertumyarov