0
0

Hi man.
I am using your FMOD libbrary to develop a mp3 player which can tream from the Icecast server.
The function FSOUND_Stream_GetLengthMs, however, returns a wrong length of the stream which I’ve opened using:

m_stream = FSOUND_Stream_Open(szURL, FSOUND_NORMAL | FSOUND_NONBLOCKING | FSOUND_MPEGACCURATE, 0, 0);

Please tell me if that’s a bug in FMOD or if I did not do all necessary things.

Regards.

NVT

  • You must to post comments
0
0

Icecast/SHOUTcast streams don’t have a “length” as such. Think of an Icecast server like a radio station – it keeps on broadcasting indefinitely so you can’t get the length of it.

  • You must to post comments
0
0

Thank you very much for your quick response.
But I have tried playing this stream with RealOne and Windows Media Player 9 and they showed a correct length of the stream.
Can you explain what is the difference please?

Regards

NVT

  • You must to post comments
0
0

Please Moderator,

I would like to know if your library is somehow able to get the exact time length of the stream from Icecast server.

I was very appreciated of what your library. But now I am disappointed.

NVT

  • You must to post comments
0
0

Please Moderator,

I would like to know if your library is somehow able to get the exact time length of the stream from Icecast server.

I was very appreciated of what your library. But now I am disappointed.

NVT

  • You must to post comments
0
0

FMOD currently doesn’t support getting the length of internet streams except in the case of HTTP streams. This may be fixed in a future release. I assume you’re streaming static files from your Icecast server – if you really need to get stream length then use HTTP instead of Icecast.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.