-
Notifications
You must be signed in to change notification settings - Fork 5
Description
@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
checkPacketIsSequentialfinally returnstrue,AudioQueueEnqueueBufferreturns-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.