0
0

Is there an easy way to determine a net stream from a regular on the HD file. I need to figure it out before the stream is loaded, i.e. from a filename, and once it’s loaded as well. That or I could always load the file through fsound_stream_open and test it with the FSOUND_STREAM pointer. This is in C by the way.

  • You must to post comments
0
0

Yeah looking at the fmod main.c source and the source for the internet streaming sample you just strcmp against http://. I was just making things more difficult than they realy were.

  • You must to post comments
0
0

You could better check for ‘://’.
Some servers use addresses like ‘icy://stream.foo.bar/’.

  • You must to post comments
0
0

I’ll check this out and maybe include a fix in an incremental release some time soon. Got any examples of servers that use icy:// instead of http://?

Cheers,

  • You must to post comments
0
0

Brett: Look this up, forgotten where I saw it otherwise I would have put in the post at first.

Andrew: You got a good point here, missed that one. Maybe check for ‘icy://’ and ‘http://’ than, or everything containing ‘://’ and not ‘file://’

mms://windowsmediaserver/path/yourfile.wma
Not sure if mms is actually http but this url was found here:
http://gonze.com/playlists/playlist-format-survey.html

And search for ‘icy://’ on this page:
http://www.biblioteca.co.cr/html/shoutc … time.shtml
or marked with google:
http://www.google.com/search?q=cache:QS … .shtml+icy

  • You must to post comments
0
0

MMS won’t be supported until FMOD4 and that info on using “icy://” instead of “http://” was about getting Quicktime 6 to play SHOUTcast/Icecast streams – it’s not relevant to FMOD. If this is an issue for your app then replace “icy” with “http” before calling FSOUND_Stream_Open.

Cheers,

  • You must to post comments
0
0

Thanks Andrew,

Already thought so, icy:// was just another protocol name for http.
I just remembered I saw it somewhere but did not read the context.

Thanks again.

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.