Forum

Full Version: Airplay 8 sec delay
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My airplay finally works now but now it has a 8 sec delay when playing music. Sometimes it starts instantly but then stops after 1 sec and continues 8 seconds later. It's not that bad but I would be very happy if we could solve it. Also sometimes it doesn't work with my ios7.1 device, but this is a know problem I think.
I can't test as I do not have IOS but.....

Have you upgraded to the latest version?

xbian-package-shairplay/stable uptodate 1.0.2-1

I've just tried on android iMediashare and didn't notice any delay or errors.
I have everything updated yes
Can you send
1) Output from
Terminal
sudo apt-show-versions|grep airplay
2) Output from
Terminal
vmstat 5 10
when streaming.
3) Output from dmesg and xbmc.log via pastebin.

Is there a way you can check the streaming from your IOS? Just to eliminate iPhone/iPad whatever?

What version of IOS are you using? IOS 7 seems to have audio lag problems
dmesg output http://pastebin.com/AAatFRjg
logfile http://paste.debian.net/91632/

with the first command I get:
sudo apt-show-versions | grep airplay
sudo: apt-show-versions: command not found

I will run vmstat as I get back home.

I was streaming from ios5.1.1, and ios7.0 7.1 devices. all lag. The iOS 7 devices won't connect most of the time too. One thing I noticed is that that videostreaming via the ios5.1.1 (iPad) did not have any lag!
ok, I have to admit all my tests were against Gotham. Not frodo.

ad the commands, .... change apt-show-version for xbian-apt-show-version or simply "dpkg-query -W xbian\*"
Oke will do this. How can I get latest gotham? And is it stable? I read airplay is solved in beta3
XBian Gotham package is already B4.

just install it with apt-get
Code:
apt-get install xbian-package-xbmc-gotham-nightly

as for the stability - I already migrated all installations and do not consider stability as a topic anymore. "biggest" bug I noticed is that subtitle search result is not sorted per Language so if you have configured more you can have your preferred on top but also some subs of the same language below another language.

I'm sure there must be others bugs as well when it is still tagged as Beta but I have not seen them. Also while merging latest Beta4 updates very minimum of source files was updated. like below 15-20. with Beta3 it was maybe ~100. so clearly one more round and we have RC1.

I would expect (if any) problems now only with wider compatibility with not updated addons. Again speaking for myself only, all ny issues with them was possible to "fix" with just changing Python needed version from 2.0 to 2.1.0.

It wasn't my plan to migrate so soon and all devs at once, but had one RPI on Gotham and one Cubox and simply realised, there is no reason NOT to.

mk
Sorry for taking so long to answer. Delay is now 2 to 3 sec which is acceptable. Only iOS 7 devices wont connect all the time. PC and tablet are doing very well most of the time.
@Alexandros4

Ok. I will update my iPhone and test - give me few days.
(in any case ios7 & delays is a "known" problem).

in between I will recheck shairplay library for patches. also, did you changed for Gotham or you managed this with Frodo?
(13th Apr, 2014 08:22 PM)mk01 Wrote: [ -> ]@Alexandros4

Ok. I will update my iPhone and test - give me few days.
(in any case ios7 & delays is a "known" problem).

in between I will recheck shairplay library for patches. also, did you changed for Gotham or you managed this with Frodo?

Ok.
I did it with Gotham. Yesterday I noticed that certified airplay devices (Marrantz amplifier) have a delay too which is on par with that of my xbian.
@Alexandros04

ok, so that means a good thing and bad thing, right?

good that your XBian is "fine". bad, that Apple broke even certified HW. ? I have to test this with my Yamaha.

btw: i still didn't update.

there were some additional patches at "next" branch (so not yet marked as stable) but I merged and created
xbian-package-shairplay v 1.0.5 and put into staging.

if you have staging allowed, just update as usually. if you don't then
Code:
sudo -i
cd /tmp
wget http://xbian.brantje.com/pool/staging/main/x/xbian-package-shairplay/xbian-package-shairplay_1.0.5_armhf.deb
dpkg -i xbian-package-shairplay_1.0.5_armhf.deb
reboot

if it will be worse, reinstall previous from stable:
Code:
sudo -i
apt-get install --reinstall xbian-package-shairplay=1.0.2-1
reboot
I am satisfied with how it is working now actully but maybe I can try it later.
Reference URL's