No audio over AirTunes (AirPlay w/ video works) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: No audio over AirTunes (AirPlay w/ video works) (/showthread.php?tid=138106) Pages:
1
2
|
No audio over AirTunes (AirPlay w/ video works) - dirzys - 2012-08-12 Hi guys, I have a raspberry pi, with installed: Code: XBMC 12.0-ALPHA4 And I can't hear any sound when I AirTune music. It doesn't work neither from iPhone nor from iTunes. Though AirPlay video (w/ sound) works without bigger problems. I tried to look into the xbmc.log, and that's what I found: Code: 23:49:10 T:1184887904 DEBUG: CecLogMessage - transmitting delayed activate source command Please for advice, if anyone knows how to make AirTunes working. PS.: AirTune works when I stream music from my iPhone to XBMC installed on my Mac. So it shouldn't be my iPhones problem. No audio over AirTunes (AirPlay w/ video works) - Memphiz - 2012-08-12 post a full debug log to pastebin and put the link here. These cec messages are unrelated to airtunes. RE: No audio over AirTunes (AirPlay w/ video works) - dirzys - 2012-08-12 Here is the xbmc.log http://pastebin.com/0j7zdUAK Please let me know if you need more information. RE: No audio over AirTunes (AirPlay w/ video works) - Memphiz - 2012-08-12 Its fixed in mainline. Whenever openelec updates its sources the problem should be solved. thx to gimli RE: No audio over AirTunes (AirPlay w/ video works) - ribbon10 - 2012-10-04 Long time since last post here. But AirTunes/AirPlay music support is still broken with openelec. Last build i tested was with xbmc-frodo-35d401b source. At least there are 2 problems at the moment with a OpenELEC build.
There is a git branch available that also discovered the problem and begun to fix these 2 issues. https://github.com/NikNakk/xbmc-rbp.git . But music is not playing well there. So here is a adapted patch for the demuxer problem. It is ugly, but it works on rpi. Sure that a xbmc expert can do better work ;-) . I am just a beginner... . Code: From 87f88669ebc0a38c25d273b28956343ef78da909 Mon Sep 17 00:00:00 2001 Another idea could be to adapt the AirTunesServer so that it delivers the ALAC stream. Perhaps FFmpeg can demux this without the adaption in DVDDemuxFFmpeg. RE: No audio over AirTunes (AirPlay w/ video works) - gimli - 2012-10-05 The patch is the wrong aproach. I have something better https://github.com/huceke/xbmc/commits/bxa RE: No audio over AirTunes (AirPlay w/ video works) - ribbon10 - 2012-10-05 Mh, what should i write... Oh YEAH!!!! Going to test this immediately. RE: No audio over AirTunes (AirPlay w/ video works) - ribbon10 - 2012-10-05 i have tested the new demuxer and can confirm that it is doing very well. i am very happy now. it is a really clever and cool way. all stream info is read from bxa header and the demuxer is small and simple. thanks! learned a lot about xbmc on this little journey. No audio over AirTunes (AirPlay w/ video works) - Memphiz - 2012-10-06 Well done Gimli RE: No audio over AirTunes (AirPlay w/ video works) - PeteUKinUSA - 2012-10-07 +10 cool points to Gimli. I pulled the latest from Git, added the above patch and files and it works like a champ. Can't thank you enough. RE: No audio over AirTunes (AirPlay w/ video works) - gimli - 2012-10-07 AirTunes support for the PI is now in master. RE: No audio over AirTunes (AirPlay w/ video works) - ribbon10 - 2012-10-07 Once again thanks for the Demuxer. But the libshairport problem with the ipv6 patch is still present. This is not part of xbmc itself but the patch is deliverd in the xbmc sources. So the problem occures on machines that have AF_INET6 defined during compilation but IPv6 is not available on runtime. Here are the relavant xbmc.log entries with a little bit extra enabled debug output. It was captured on an OpenELEC build that have the above preconditions. What should be the default at the moment. Code: root ~ # cat .xbmc/temp/xbmc.log | grep AIR Have made a minimal invasive patch that fixes the problem. But I am not happy with the libshairport src/socketlib.c code at all. The patch is a a little bit hard to read because it is a patch for the ipv6 patch. Code: From ea7356a62cac8f232d1043e055c8dd857f7eaa99 Mon Sep 17 00:00:00 2001 No audio over AirTunes (AirPlay w/ video works) - Memphiz - 2012-10-07 We are not happy with libshairports code aswell - but thats what we got for supporting airtunes. We want to switch over to libshairplay after frodo and moving all the airplaycode to an addon aswell. Until then i will try to remember to test and add your patch before frodo. thx RE: No audio over AirTunes (AirPlay w/ video works) - sraue - 2012-10-08 (2012-10-04, 21:18)ribbon10 Wrote: Long time since last post here. But AirTunes/AirPlay music support is still broken with openelec. Last build i tested was with xbmc-frodo-35d401b source. (2012-10-07, 08:01)PeteUKinUSA Wrote: +10 cool points to Gimli. I pulled the latest from Git, added the above patch and files and it works like a champ. Can't thank you enough. (2012-10-07, 09:17)gimli Wrote: AirTunes support for the PI is now in master. updated in OpenELEC r12055, see: http://forum.xbmc.org/showthread.php?tid=140518&pid=1208536#pid1208536 RE: No audio over AirTunes (AirPlay w/ video works) - Memphiz - 2012-10-08 @ribbon10 Patch can be watched here https://github.com/xbmc/xbmc/pull/1573 thx again. (though i didn't test because everything is ipv6 enabled here - at least it didn't break it. But i just try to trust in you that you have verified it. Well once in a time i try to trust ). |