Posts: 1,600
Joined: Dec 2009
Reputation:
124
Hi,
Crystalbuntu used to use its own AirPlay and AirTunes implementation but naturally I am changing to include the native one. I have two questions:
1. Why are you making AirPlay and AirTunes separate devices? They can be one device and the user can easily choose whether to broadcast just audio (by locking the iDevice, double tapping home and streaming this way) or streaming the video by doing it from an unlocked iOS. There is no need for two device names.
2. Why is the format: DeviceName (Hostname) @ HostName. Hostname is being mentioned twice?
Posts: 16,946
Joined: Feb 2011
Reputation:
256
In ther latest nightly you can configure the announced name in the settings. The first point i just didn't understand (non native english speaker ...).
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)
Posts: 1,600
Joined: Dec 2009
Reputation:
124
Yes you can configure the name but that is still based on hostname.
More importantly, why do they show as two separate devices? There is no need to do this - one is a speaker icon, one a TV icon.
Posts: 1,600
Joined: Dec 2009
Reputation:
124
I know you use two different implementations: libshairport and libplist. When I used AirPlayer and Shairport although they are two separate devices they showed as one at a time only. Either the speaker or TV icon. Testing the XBMC implementation I saw both the TV icon and the Speaker icon at same time from iPod.app playing music
Posts: 1,600
Joined: Dec 2009
Reputation:
124
You are not understanding me.
How and why is it exposed as two separate entities? Should be encapsulated under one entity in iOS
Posts: 16,946
Joined: Feb 2011
Reputation:
256
2011-10-25, 22:01
(This post was last modified: 2011-10-25, 22:06 by Memphiz.)
Its announcing 2 services via zeroconf. One is with protocol "_airplay._tcp" for videos ... and the other is with protocol "_raop._tcp" for audio.
Yeah it seems i don't understand you ... for me it sounds like you know how to do it in one announcment for both services but you don't tell me how?
beside that ... i have started xbmc on my mac and started iPod.app on my ipad ... and it only sees the speaker ... even my real appletv2 is only seen as speaker here ... i'm not quite sure whe ipod.app even should pickup the airplay.tcp announcment ... as ipod.app is only able to play music right?
What happens if you try to stream to the tv symbol of xbmc with ipod.app?
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)
Posts: 1,600
Joined: Dec 2009
Reputation:
124
I do not have a method to advertise AP and AT via one Avahi service, but I am saying they both show at once even though they do not when I used my own implementations. Got this bug on an iPad and iPhone, but will assume this is isolated. Streaming to TV from iPod.app results in iDevice thinking it's streaming when it is not
Posts: 1,600
Joined: Dec 2009
Reputation:
124
Hi,
Can't reproduce either after restart. Crystalbuntu was the base system (Hardy 8.0.4). The implementations were essentially the same: two TCP services on Zeroconf using the avahi daemon/mDNsResponder
Posts: 1,066
Joined: Oct 2011
Reputation:
27
Soli
Posting Freak
Posts: 1,066
2011-10-27, 03:28
(This post was last modified: 2011-10-27, 03:31 by Soli.)
I would actually prefer seeing 2 devices when using a video app on an idevice. One for Airplay, and one for Airtunes. Sometimes, i just want to have the sound of the clip, because the TV connected to XBMC is not on. (I use an USB Dac, obviously wont work with HDMI audio)
When using an Airport Express, the sound will be in sync with what is displaying on the ipad/ipod. So the airtunes protocol has some self synchronization code built in. Air server does not support synchronization, but I know Airfoil Speakers do. At least when using Airfoil, but I think also when using iTunes native Airtunes. At a party I had all 3 rooms in sample perfect sync between an local computer, apple airport express, airfoil speakers, with a mix of ethernet, ethernet over power, and wifi.
Shairport too did not support synchronization so obviously the airtunes option should not be displayed with a video app. But if synchronization is indeed supported on XBMC, then we should have the option of seeing both Airplay and Airtunes.
Posts: 1,600
Joined: Dec 2009
Reputation:
124
To get sound only, lock iDevice, double tap home and press Play to speaker
Posts: 1,066
Joined: Oct 2011
Reputation:
27
Soli
Posting Freak
Posts: 1,066
Yeah but that is an ackward workaround.. Airserver shows both.. Should be an option inside XBMC to make it possible.
Posts: 1,600
Joined: Dec 2009
Reputation:
124
Not really awkward, how it should be I believe.