Skip to content

Implement non-blocking voice transmission to the daily room - #12

Open
zardamhussain wants to merge 1 commit into
VapiAI:mainfrom
zardamhussain:main
Open

zardamhussain wants to merge 1 commit into
VapiAI:mainfrom
zardamhussain:main

Conversation

@zardamhussain

Copy link
Copy Markdown

Previously, the voice transmission method to the daily meeting using PyAudio was a blocking operation, resulting in significant delays—approximately 1.5 seconds from transmission to reception. This issue was notable despite running on a system equipped with an Intel i5 processor, 16GB RAM, and an internet connection exceeding 100 Mbps.

In this update, I have implemented a non-blocking voice transmission method that efficiently utilizes the system’s capabilities, significantly reducing latency. This enhancement ensures real-time audio communication with minimal delay, improving user interaction during daily meetings.

@nikhilro

nikhilro commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

thanks! will review and merge soon

@zardamhussain

Copy link
Copy Markdown
Author

thanks! will review and merge soon

Have you had a chance to review the changes yet?

@Anant-Kovil

Copy link
Copy Markdown

+1 this is blocking me as well, been getting this error:

Execution context already exists!
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread '' panicked at library/core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x7ffe8cb4d9bc - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hd1bd86f9e87f2dc6
1: 0x7ffe8cb6fdd4 - core::fmt::write::hf784ddce2439beb2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants