Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

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

Open
zardamhussain wants to merge 1 commit intoVapiAI:mainVapiAI/client-sdk-python:mainfrom
zardamhussain:mainzardamhussain/vapi:mainCopy head branch name to clipboard
Open

Implement non-blocking voice transmission to the daily room#12
zardamhussain wants to merge 1 commit intoVapiAI:mainVapiAI/client-sdk-python:mainfrom
zardamhussain:mainzardamhussain/vapi:mainCopy head branch name to clipboard

Conversation

@zardamhussain
Copy link

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
Copy link
Contributor

nikhilro commented Oct 1, 2024

thanks! will review and merge soon

@zardamhussain
Copy link
Author

thanks! will review and merge soon

Have you had a chance to review the changes yet?

@Anant-Kovil
Copy link

+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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.