Remcoman / AIRShoutcast

Shoutcast API for Adobe AIR
MIT License
5 stars 2 forks source link

Got a Error on some radio stream #2

Open hyzhak opened 12 years ago

hyzhak commented 12 years ago

Stream URL : http://www2.rtvatlas.tv:9090/ Used : audio/aacp

Got Error: Could not read ADTS

Remcoman commented 12 years ago

Hmmm the server seems to be down so i can't figure out what is wrong. However if i look at the implementation of the aac parser it seems likely that it misses the syncword. The implementation is a bit naive about this and assumes that the syncword is always at the start of the stream. It would be better if it 'snaps' to the syncword (like the mp3 parser does). I might look into this if i have the time.