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=HMtg... Get a loan against your existing car.