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

Audio not working #1

Open
zoecarver opened this issue Aug 21, 2018 · 0 comments
Open

Audio not working #1

zoecarver opened this issue Aug 21, 2018 · 0 comments

Comments

@zoecarver
Copy link

zoecarver commented Aug 21, 2018

@jenghis I think this is a really great framework that I would really like to get working. I tried creating an instance of airtunes and calling start which worked after a bit of tweaking (I mainly had to change the RSA transform).

The issue is that when I call start and try to play something to the server, I get a quick static sound then only silence. I am not sure why this is and I would love some help figuring it out.

Possible issues

  • Indexs 5 to 22412 are skipped - maybe the sequence is always off?
  • After checkPacketIsSequential finally returns true, AudioQueueEnqueueBuffer returns -66686 - maybe the size is not set correctly?

I don't know very much about AudioToolkit but, I suspect that is where the issue is coming from because it seems like the buffers are being received correctly.

Errors and Debug Info

I was not sure what info would be helpful but here is some outputs from the console.

Read: 4 Write: 4 Diff: 0 Buffers: 2
Enqueue error: -66686

Thanks again.

Edit

After testing a bit more, I found that this actually only happens some of the time and the output varies a lot. Sometimes the above error will happen whereas sometimes no error will be given and there will just be silence.

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

1 participant