Using MAD for MP3 Streaming decoding

"balaji shanmugam" <[email protected]>
Newsgroups gmane.comp.audio.mad.devel
Message-ID <[email protected]>
I am using MAD library for my application which basically decodes the MP3 
streams. I am using HELIX server (from RealNetworks) as the MP3 streaming 
server.

After I started the streaming (the helix server streaming a local MP3 file 
encoded at Constant Bit rate of 128Kbps and 441.KHz sampling freq). The 
streaming is done using RTSP/RTP protocol. I captured the streamed out 
packets and found out that the length of each RTP payload is varying. The 
first few stream packets are containing less than 417/418 bytes of Mp3 audio 
data.

I have taken care of copying the unprocessed/left out MP3 data of previous 
frame into the new frame but I am always getting the LOST_SYNC error.

Will someone help me out in processing the MP3 data that is streamed out.


Regards
Balaji Shanmugam

_________________________________________________________________
Drive away out of trouble. 
http://citibank.mediaturf.net/carcash2/landing/key_landing.jsp?referrer=HMtgofline 
Get a loan against your existing car.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.