Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Shoutcast Client (http://forums.winamp.com/showthread.php?t=122969)

Neagu Florin 27th January 2003 14:20

Shoutcast Client
 
I would like to program a shoutcast client mp3 player.
For this I need to know what really a Shoutcast server sends to the client after the response header.
I have read somewhere that after the response header comes the stream itself. This streams begins with a frame header or no? I have to find myself the firt frame header? How do I play the Frame? Frame by Frame as I receive the stream?

Please help?

Jay 27th January 2003 15:00

yea just mpeg data comes down unless you request meta data explicitly. you find the first frame the same way you do in an mp3 file, shoutcast does not process mp3 data so it will probably not send a complete frame as the first frame. So data you recieve will recieve at the very beginning of the stream will probably not be a frame header.

Neagu Florin 27th January 2003 15:43

Thanks..
 
Quote:

Originally posted by KXRM
yea just mpeg data comes down unless you request meta data explicitly. you find the first frame the same way you do in an mp3 file, shoutcast does not process mp3 data so it will probably not send a complete frame as the first frame. So data you recieve will recieve at the very beginning of the stream will probably not be a frame header.
Thank you very much!

So what I have to do is to parse the stream reading it frame by frame, decode frames and play frames, as I receive them?


All times are GMT. The time now is 14:58.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.