Kodi Community Forum

Full Version: Airplay Choppy From Iphone
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been having playback issues using Airplay on my iPhone lately. I just upgraded to Eden Beta 2 and it seems to have started since I upgraded to Beta 1.

It starts without problem, but it is very choppy and always buffering.

My iPhone has the latest firmware and I am running Aeon AQ3.

Not sure what other info you may need.

Cru
using youtube app?
I have this same problem when playing music. It cuts in and out. I have it on my ATV2 and on my Asrock ION running openelec.

It works fine when I use just plain old Airplay to my ATV2. It's only in XBMC that it gets choppy.

Basically, the music will stream for a bit then cut in and out. I'm running beta 3. I also had the issue with the first beta.
I have exactly the same problem with the very same configuration. Have to mention that video runs fine, just sound streaming stutters after a short while. Native Atv2 AirPlay runs perfectly smooth for video and sound, so network issues can't be the cause
Any ideas on where to begin on this?
Yeah...Problem is still occurring in beta 3
Alright, maybe later on tonight I'll see if I can get some logs.

I wonder if it is a processing power thing. I'm assuming the ION should be able to handle airplay, if the ATV2 can natively do it. I guess I'll watch the processes too just to eliminate that as a possibility
Ok, so when it get's choppy the log (with airplay debug on) starts looking like this:

Code:
02:02:45 T:140472383162112   DEBUG: AIRTUNES: ----Send Response Header----
02:02:45 T:140472383162112   DEBUG: AIRTUNES: Waiting To Read...
02:02:45 T:140472366376704   DEBUG: AIRTUNES: requesting resend on 28 packets (port 60009)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B51 (1B51:1B8B)
02:02:45 T:140473006655232   DEBUG: AIRTUNES:
                                            missing frame.
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B65 (1B66:1B8B)
02:02:45 T:140473006655232   DEBUG: AIRTUNES:
                                            missing frame.
02:02:45 T:140472366376704   DEBUG: Previous line repeats 4 times.
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B66 (1B6B:1B8B)
02:02:45 T:140473006655232   DEBUG: AIRTUNES:
                                            missing frame.
02:02:45 T:140472366376704   DEBUG: Previous line repeats 1 times.
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B67 (1B82:1B8B)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B68 (1B8B:1B8B)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B69 (1B8B:1B8B)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B6A (1B8B:1B8B)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B6B (1B8B:1B8B)
02:02:45 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1B6C (1B8B:1B8B)
02:02:47 T:140472366376704   DEBUG: AIRTUNES: requesting resend on 3 packets (port 60009)
02:02:47 T:140473006655232   DEBUG: AIRTUNES:
                                            missing frame.
02:02:47 T:140472366376704   DEBUG: Previous line repeats 1 times.
02:02:47 T:140472366376704   DEBUG: AIRTUNES: requesting resend on 2 packets (port 60009)
02:02:47 T:140472366376704   DEBUG: AIRTUNES: requesting resend on 12 packets (port 60009)
02:02:47 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1C7B (1C91:1CC2)
02:02:47 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1C7C (1C91:1CC2)
02:02:47 T:140472366376704   DEBUG: AIRTUNES:
                                            late packet 1C7D (1C92:1CC2)

Essentially, it starts getting a lot of those "late packet" things. I also get the following in the beginning of the airplay too:

Code:
WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
I have similar issues where sound is choppy and actually airplay icon for my XBMC box goes away (it comes back after a few minutes). Running latest CrystalBuntu. I'll enable debug logging and see what I get...
Upgraded to RC2...still experiencing problem? Any ideas?
Actually no, YouTube works fine
This has ALWAYS been an issue.
Ok, is it an issue with the airplay library or XBMC?

I guess I'm just surprised that video would work fine and music wouldn't. My first intuition would be that video would be a lot harder to get working then music. However, admittedly I have no idea how airplay works.
With the latest RC2, the issues seem to be fixed for me. Airplay just runs as booth as it should from iPhone or my Macbook!

Thanks!