Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
resba opened this issue Jul 16, 2012 · 1 comment
Labels

Comments

@resba
Copy link
Owner

resba commented Jul 16, 2012

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.

@resba
Copy link
Owner Author

resba commented Jul 16, 2012

The reason i'm putting this issue up instead of actually fixing it is pretty simple: I'm not quite sure how to fix it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant