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

MicrophoneTransmitter / MicrophoneReciever network stream mismatch #786

Closed
alankemp opened this issue Jul 18, 2017 · 1 comment
Closed

Comments

@alankemp
Copy link

In the MicrophoneTransmitter class the direction of the audio source is added to the network stream:
MicrophoneTransmitter.cs#L274

But in the MicrophoneReciever the code to extract this has been commented out:
MicrophoneReceiver.cs#L258

Immediately following the audio source direction in the stream is the audio buffer. I think this means the audio data is read incorrectly, it actually takes the first 12 bytes from the direction vector and misses the last 12 bytes.

Fix is either to not add it to the stream, or to decode it and ignore it (or skip the stream forward by 12 bytes).

@StephenHodgson
Copy link
Contributor

Thanks for the report.

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

No branches or pull requests

2 participants