Skip to content
This repository was archived by the owner on Apr 9, 2026. It is now read-only.
This repository was archived by the owner on Apr 9, 2026. It is now read-only.

Voice stream becomes intermittent when sending and receiving sound packets simultaneously.  #7

Description

@resba

This is a common error that's well known from the actual code itself. What happens is while the user begins to speak after pressing his talk key, another user begins speaking which jams the recording thread between processing the microphone input and the speaker output. This causes not only the audio being received to become choppy and incoherent, but it causes the microphone input being sent to the server to become choppy and incoherent.

This is caused by the fact that current hardware limitations and the way the software was designed calls for only one recording thread, which both the input and output use to send and receive data. When used simultaneously (this also holds true for two remote users sending audio data) the recording thread processes packets in the order of which it was received, disregarding which client initially sent voice stream data first.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions