imediashare with XBMC airplay
#1
Dear all:

I am currently developing airplay server application, which referencing pretty much of XBMC airplay program

And apps with airplay supported on iphone and ipad work fine for me.

But when I try using imediashare on android device connecting to my app to play video, the progress bar on imediashare can not be sychronized.

However, imediashare works great on XBMC wihout this problem.

As I trace the http requests sent from imediashare, i found out that it didn't sent "GET, /server-info" and "POST, /reverse" which iphone and ipad do.

the most important one is "POST, /reverse", which is the reverse http to sent the playback event to the client. Without reverse http, my application is unable to do that.

I also trace the log of XBMC , it does not receive "GET, /server-info" and "POST, /reverse" too,

So I am very curious about how XBMC airplay can send the playback event to imediashare client and let it works normal without reverse http connection

it will be so nice that if anyone can give me some advice to my application if i miss something to cause this problem.

Any suggestions are highly appreciated. thank you very much.

Best Regards
steven 2013 10 1
Reply
#2
Well the code is there. As you pointed out there is a reverse connection involved. But this is only for sending events which are initiated by the server. E.X. if you pause on XBMC the reverse socket is used to send a PAUSE event to the client. The server-info is not interesting here. For progressbar tracking you need to implement the proper /playback-info request and answer to that based on the player state. (once again - see the code in xbm/network/AirplayServer.cpp)
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

Logout Mark Read Team Forum Stats Members Help
imediashare with XBMC airplay0