Skip to content

fix: send pushed audio from a thread apart from the timeouts - #452

Merged
devopvoid merged 1 commit into
mainfrom
fix/custom-audio-own-thread
Oct 26, 2026
Merged

devopvoid merged 1 commit into
mainfrom
fix/custom-audio-own-thread

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

CustomAudio ticked on the runtime's single timer thread, so a slow native push delayed operation timeouts, HTTP deadlines and stats. Pushed audio now has its own pacer thread, and after a stall only ticks at most 50 ms late send, so the missed ticks no longer burst out. Queued audio is kept.

The ticks of CustomAudio ran on the runtime's single timer thread, so a slow
push into WebRTC delayed operation timeouts, HTTP deadlines and stats.
They now run on an audio pacer of their own, and after a stall only ticks
at most 50 ms late send, so the missed ticks no longer burst out.
@devopvoid
devopvoid merged commit 0111d0d into main Oct 26, 2026
25 checks passed
@devopvoid
devopvoid deleted the fix/custom-audio-own-thread branch October 26, 2026 14:13
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.

1 participant