Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Reply
Thread Tools Search this Thread Display Modes
Old 23rd February 2001, 16:04   #1
kevinbruton
Junior Member
 
Join Date: Jan 2001
Posts: 34
Send a message via Yahoo to kevinbruton
I've written a Java RMI interface (will be releasing public soon) to Winamp 2 allow realtime control and dislay on winamp/mp3 info on any Java based platform.

Whilst this is well and good the problem I have is calculating the client delay in order for the user
to sync lyrics/time informaiton.

Is there an API for Winamp/Shoutcast to tell me this ?

Or I was thinking the following algorythm for a workaround.

Server caches Song the Time each song is started.

Users clicks a button "Calibrate" - or something when they hear a song start which sends a message to the server. The
server then looks at the cache to see when the last song was started and calculates the latency, then simply delays
the real-time feed (lyrics/time etc) by this amount every time.


Not sure how reliable that would be hence the question for an API.

Any thoughts ?


kevinbruton is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump