Hello Serge. This is Chris, probably better known to you as blert. I wrote the Delphi7 component for your SDK. I've been MIA for a while but am slowly trying to get back into things.
I came to download the latest and greatest versions of AMIP and the SDK and noticed that there have been some changes to the SDK that need to be applied to the Delphi component. I made all the changes and fired up my example application and the server is not loading. Using FB2K v0.9.5.3 with all the latest AMIP stuff. All settings seem to be correct. Am I missing something that I have forgotten in my long absence?
I commented out all server stuff from my example appication to test just client stuff and it seems none of it is working. Am I missing something in FB2K that I need to turn on?
Hi blert, nice to see you again. Can it be some firewall issue? Get the Process Explorer and check that player process is listening on the specified port for the client connections. Also check that the server part of your client application binds to the correct port and also listens to the player replies.
Not a firewall issue, and Process Explorer shows listening on port 60334. Server settings in AMIP Configurator is set to 127.0.0.1:60334.
I had the ports backwards in my code. Not sure how as this code worked last time I was mucking with it (long time ago).
Yes, it looks like you've mixed up the ports =) The second is correct.
Sorry this is taking so long but I can now only plink around with kinda stuff as it comes to me or as I have time.
The updated component is done and works nicely. I'm having trouble with the example app though... ac_get_pl() is always resulting in an AC_ERR_CONNECTIONFAILED.
Server is running, client is running, listener is running for all events, ac_get_pl() is fired via callback on receipt of AC_EVT_PLREADY.
Any clues for me as why this might be?
Could be very large playlist, increasing timeouts may help.
You are correct sir. My playlist is massive. I cut it down and it works nicely.
Ok, done. The package is attached.
AMIP_D7_component.zip ( 5.52k ) Number of downloads: 1121
Thanks, will be included in the next SDK update.
Not a problem at all. If I need to make more updates to it in the future just give me a shout.
Powered by Invision Power Board
© Invision Power Services