• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 43
Help us solving the AirPlay issue when using iOS7 devices
#31
Hence my thread: http://forum.xbmc.org/showthread.php?tid=180547

If I can just activate 'Full Target' by switching airplay in XBMC on/off (by pressing a key on my IR remote), it's good enough for me!
Reply
#32
Hi there Memphiz,

Ignore if I'm wrong, but in CAirPlayServer:Tonguerocess() there is code that reads:

Code:
if (nread <= 0)
          {
            CSingleLock lock (m_connectionLock);
            CLog::Log(LOGINFO, "AIRPLAY Server: Disconnection detected");
            m_connections[i].Disconnect();
            m_connections.erase(m_connections.begin() + i);
          }


Shouldn't this be:

Code:
if (nread <= 0)
          {
            CSingleLock lock (m_connectionLock);
            CLog::Log(LOGINFO, "AIRPLAY Server: Disconnection detected");
            m_connections[i].Disconnect();
            delete m_connections[i];
            m_connections.erase(m_connections.begin() + i);

And I guess sessionCounter--; would be needed too if it's deleted...

Note the added delete after Disconnect. I checked and noticed that's also how it's done in void CTCPServer:Tonguerocess()


If I'm wrong, sorry to have wasted your time.
Reply
#33
This is wrong. in CTCPServer it is a list of pointers to objects

std::vector<CTCPClient*> m_connections;

in CAirPlayServer it is a list of connection objects

std::vector<CTCPClient> m_connections;

Back to topic please now.
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#34
As other people have mentioned, this behaved pretty much like build 2 for me. My iphone worked but after letting it sit for 15 minutes went speaker only, 10 minutes later back to TV and hasn't switched to speaker in 30-40 minutes. Same as build #1 when it switched to speaker only, my openelec PI showed as a speaker too. When it came back as tv both were tv. The ipad never went speaker only after initial.

testbuild 4
1. Which iDevice from Apple are you using (iPad2, iPad3, iPhone4s and so on)
ipad2
iphone5

2. Which exact iOS version are you running on that device (e.x. 7.0.4)
ipad2=7.0
iphone5=7.0.3

3. Does XBMC show up as an audio only target in the airplay selection (speaker symbol)
ipad2=yes (was speaker for first 3-4 minutes after bootup
iphone5=yes (was speaker for first 3-4 minutes after bootup)

4. Or does XBMC show up as full target in the airplay selection (monitor symbol)
ipad2=yes
iphone5=yes (see #3)

5. If the latter - does airplaying videos work? (please use the youtube.app for testing - don't post issues with other video apps for now)
ipad2=yes
iphone5=yes

6. Does airplaying pictures work? (use the photo app or the camera roll please for this test)
ipad2=yes
iphone5=yes

7. Does airplaying music work? (don't post if the music stutters or what - as long as the music comes out of XBMC - it is considered "working")
ipad2=yes
iphone5=yes
Reply
#35
I have tried and iphone does not recognise the device

Running ios 7.0.4, frodo 12.2 and on a. Jellybean android tv stick

Any suggestions to get it workingg
Reply
#36
(2013-12-22, 00:27)Andyhilbourne Wrote: I have tried and iphone does not recognise the device

Running ios 7.0.4, frodo 12.2 and on a. Jellybean android tv stick

Any suggestions to get it workingg

This is not a support thread. It is purely a testing one. If you cannot test and report as required in the original post, then you need to wait until testing is over.
Reply
#37
I came searching for airplay issues I'm having and found this thread looks like you gents are well and truly onto it!
Reply
#38
Builds used:

xbmc-20131223-2888fb0-ios7tvoutfix3-ios.deb

xbmc-20131218-1665f84-airplayios7-featuresversion-ios.deb

xbmc-20131208-bf97d2f-airplayios7-name-ios.deb

Apple TV software 6.0.2 (ATV3)

1. Which iDevice from Apple are you using (iPad2, iPad3, iPhone4s and so on)
iPad 4
2. Which exact iOS version are you running on that device (e.x. 7.0.4)
7.0.4
3. Does XBMC show up as an audio only target in the airplay selection (speaker symbol)
NO
4. Or does XBMC show up as full target in the airplay selection (monitor symbol)
YES
5. If the latter - does airplaying videos work? (please use the youtube.app for testing - don't post issues with other video apps for now)
NO
6. Does airplaying pictures work? (use the photo app or the camera roll please for this test)
NO
7. Does airplaying music work? (don't post if the music stutters or what - as long as the music comes out of XBMC - it is considered "working")
NO
Reply
#39
guys focus please - what does my tvoutfix build to do with this issue? Nothing!
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#40
I reboot my router between testing each xbmc, but not between testing iPhone and iPad.

Test 1. xbmc-20131208-f2db445-airplayios7-version-i386.dmg
1. iPhone 5
2. 7.0.4
3. Audio Only
4. No
5. Nope
6. Yes. Photos work from the Photos app
7. Yes.

Test 1. xbmc-20131208-f2db445-airplayios7-version-i386.dmg
1. iPad 1
2. 5.1.1
3. No
4. Monitor Icon
5. Yes
6. Yes
7. Yes

Test 2. xbmc-20131218-1665f84-airplayios7-featuresversion-i386.dmg
1. iPhone 5
2. 7.0.4
3. No.
4. Monitor Symbol shows up
5. Yes!
6. Yes
7. Yes

Test 2. xbmc-20131218-1665f84-airplayios7-featuresversion-i386.dmg
1. iPad 1
2. 5.1.1
3. No
4. Monitor
5. Yes.
6. The photo app sends photos to XBMC, but they don't appear to be the same ones on my screen - random ones from my roll instead.
7. Yes.

Test 3. xbmc-20131208-f4f4a00-airplayios7-features-i386.dmg
1. iPhone 5
2. 7.0.4
3. Audio Only speaker icon
4. No
5. No.
6. Yes
7. Yes.

Test 3. xbmc-20131208-f4f4a00-airplayios7-features-i386.dmg
1. iPad 1
2. 5.1.1
3. No.
4. Monitor Symbol
5. Yes
6. The photo app sends photos to XBMC, but they don't appear to be the same ones on my screen - random ones from my roll instead.
7. Yes.

Test 4. xbmc-20131208-bf97d2f-airplayios7-name-i386.dmg
1. iPhone 5
2. 7.0.4
3. No. XBMC does not show up at all.
4. No. XBMC does not show up at all.
5. No.
6. No.
7. No.

Test 4. xbmc-20131208-bf97d2f-airplayios7-name-i386.dmg
1. iPad 1
2. 5.1.1
3. No
4. Yes. Monitor Icon appears
5. Yes
6. Yes, this time I tried the iPad first before the iPhone. perhaps that is why XMBC was getting images out of sync.
7. Yes.
I will edit this post with more information as I continue testing.
Thanks,
Joseph Elwell.
Reply
#41
Hi Memphiz,

Thanks for taking the time to look at this. Much appreciated. Below are the results using Test Build 4 for OSX:

1. Which iDevice from Apple are you using (iPad2, iPad3, iPhone4s and so on)

iPhone 5S, iPad3

2. Which exact iOS version are you running on that device (e.x. 7.0.4)

Both devices are running 7.0.4

3. Does XBMC show up as an audio only target in the airplay selection (speaker symbol)

Yes on both devices

4. Or does XBMC show up as full target in the airplay selection (monitor symbol)

Soon as I installed Test Build 4 it showed up as the full target on the iPhone 5S.

5. If the latter - does airplaying videos work? (please use the youtube.app for testing - don't post issues with other video apps for now)

Worked on iPhone 5S soon as I installed the Test Build. Then when I went to try my iPad only the audio target was in the airplay section. Went back to iPhone 5S and only audio target displayed.

6. Does airplaying pictures work? (use the photo app or the camera roll please for this test)

As above for point 5

7. Does airplaying music work? (don't post if the music stutters or what - as long as the music comes out of XBMC - it is considered "working")

As above for point 5

Hope this helps. Let me know if you need me to do any further testing.
Reply
#42
Hi Memphiz
Thanks for trying to get these AirPlay problems fixed.
I've been trying to help out by building a linux (ubuntu) version of your test builds but am struggling to get any airplay support at all.
If I install the standard frodo version then xbmc does appear as an airplay target but with any builds I make it doesn't appear as a target at all, even though avahi-browse -a shows that it is announcing itself in exactly the same way.
I'm building with the following configure line:
./configure --prefix=/usr --enable-airplay --disable-debug
Any ideas?

Once I've got these basically working I'm happy to post the builds somewhere for others to try and report results.
Reply
#43
Code Version 1 (Windows 8.1):
1. Device iPhone 5s
2. iOS 7.0.4
3. Airplay audio target -
4. Airplay full target Video Symbol
5. Ja (Audio und Video auf XBMC)
6. Pictures (Foto App) Ja
7. Musik Ja

1. Device ipad 4
2. iOS 7.0.4
3. Airplay audio target Speaker Symbol
4. Airplay full target -
5. Sound auf XBMC Video auf iPAD
6. Pictures (Foto App) Nein

7. Musik Ja

1. Device iphone 4
2. iOS 7.0.4
3. Airplay audio target -
4. Airplay full target Video Symbol
5. Ja (Audio und Video auf XBMC)
6. Pictures (Foto App) Ja
7. Musik Ja
Reply
#44
Version 4 (XBMCSetup-20131218-1665f84-airplayios7-featuresversion.exe)
Windows 8.0 (I have two Win PCs)

1. Device iPhone 5s
2. iOS 7.0.4
Nach Windows und XBMC Neustart
3. Icon Airplay audio target -
4. Icon Airplay full target Yes
5. Airplay Video work?
6. Pictures (Foto App)
7. Musik
Nach Video Nutzung durch iPAd kippte es plötzlich:
3. Icon Airplay audio target Yes
4. Icon Airplay full target -


1. Device ipad 4
2. iOS 7.0.4
Nach Windows und XBMC Neustart
3. Icon Airplay audio target -
4. Icon Airplay full target Yes
5. Airplay Video work? Unreliable. Asks for Bildschirmsynchr. This mode doesnt work
6. Pictures (Foto App)
7. Musik Volume control ist available but no sound neither on iphone nor xbmc
Nach Video Nutzung durch iPAd kippte es plötzlich:
3. Icon Airplay audio target -
4. Icon Airplay full target Yes (sometimes)

1. Device iphone 4
2. iOS 7.0.4
Nach Windows und XBMC Neustart
3. Icon Airplay audio target Yes
4. Icon Airplay full target -
5. Airplay Video work? Video on XBMC but no Volume control on iphone and no sound
6. Pictures (Foto App) Yes
7. Musik Volume control ist available but no sound neither on iphone nor xbmc
Nach Video Nutzung durch iPAd kippte es plötzlich:
3. Icon Airplay audio target -
4. Icon Airplay full target Yes


Diese Version 4 erschien mir im vgl. zur Version 1 sehr unberechenbar. Ich hatte auch mal einen Test wo mit dem iPAD 4 audio und video ausgabe auf der XBMC funktionierte. Insbesondere wenn man die Bildschirmsync. am ipad aktivierte (vielleicht kann man das feature erstmal deaktiveren?). Ich hatte auf dem iPAD neben dem Video-Symbol auch zwei verschiedene für Audio. Einmal eine Box von vorne (Bei XBMC Version 1) und einmal einen stilisierten Lautsprecher von der Seite mit Schallwellensymbol (bei dieser Version 4).

Wenn du weitere spezifische Tests unter Win 8.0 oder 8.1 mit einem der drei IOS-Geräte brauchst, gib bescheid.
Reply
#45
Hi I have tested, results below. Also I used zeroconf browser to look at the broadcasted services from AirServer. Airserver is a windows and MacOS target, and this works really well under IOS7 for tested devices (Iphone5, Ipad Mini). Interesting to see some substantiall differences between what is advertised, beyond features. Not sure if this helps but of notice are:
Port is 7000, not 36667
Version
Model


Windows Test Build 1: (protocol version)
[Iphone5] 1.Device
[7.0.4 ] 2.IOS version
[YES] 3.Audio Only
[NO] 4.Video Target
[FAIL] 5.Airplay Video
[FAIL] 6.Airplay Pictures
[OK] 7.Airplay Music
hostname.local.:36667
model=Xbmc,1
srcvers=160.10
features=0x77
deviceid=03:05:85:75:EB:80


Windows Test Build 2: (feature bits)
[ Iphone5] 1.Device
[7.0.4 ] 2.IOS version
[YES] 3.Audio Only
[NO] 4.Video Target
[FAIL] 5.Airplay Video
[FAIL] 6.Airplay Pictures
[OK] 7.Airplay Music
hostname.local.:36667
srcvers=101.28
features=0x1000009ff
model=Xbmc,1


Windows Test Build 3: (anounced name)
[Iphone5] 1.Device
[7.0.4 ] 2.IOS version
[] 3.Audio Only
[] 4.Video Target
[] 5.Airplay Video
[] 6.Airplay Pictures
[] 7.Airplay Music
unable to install corrupt MSI


Windows Test Build 4: (protcol & feature)
[Iphone5] 1.Device
[7.0.4 ] 2.IOS version
[NO] 3.Audio Only
[OK] 4.Video Target
[FAIL] 5.Airplay Video
[OK] 6.Airplay Pictures
[OK] 7.Airplay Music
hostname.local.:36667
model=Xbmc,1
srcvers=160.10
features=0x1000009ff
deviceid=03:05:85:75:EB:80

Airserver Comparison:
[Iphone5] 1.Device
[7.0.4 ] 2.IOS version
[NO] 3.Audio Only
[OK] 4.Video Target
[OK] 5.Airplay Video
[OK] 6.Airplay Pictures
[OK] 7.Airplay Music
hostname.local.:7000
pw=1
rhd=1.9.4
vv=1
model=AppleTV3,2
srcvers=150.33
features=0x100029ff
deviceid=03:05:85:75:EB:80
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 43

Logout Mark Read Team Forum Stats Members Help
Help us solving the AirPlay issue when using iOS7 devices7