Old 27th January 2003, 15:20   #1
Neagu Florin
Junior Member
 
Join Date: Jan 2003
Posts: 2
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?
Neagu Florin is offline   Reply With Quote
Old 27th January 2003, 16:00   #2
Jay
Moderator Alumni
 
Jay's Avatar
 
Join Date: May 2000
Location: Next Door
Posts: 8,942
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.
Jay is offline   Reply With Quote
Old 27th January 2003, 16:43   #3
Neagu Florin
Junior Member
 
Join Date: Jan 2003
Posts: 2
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?
Neagu Florin is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

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