I’ve tried the net_steam example and that failed also. Here are my findings:
The example URL works fine.
The shoutcast URL ( http://yp.shoutcast.com/sbin/tunein-station.pls?id=1817772 ) fails with ‘Error 19 Unsupported file or audio format’
However, I can see that it’s trying to connect to ‘31.12.71.119:80’ which seems to be a placeholder shouctcast page and not an actual radio address.
Direct URL to the station does work ( http://78.47.158.100:8080/dance.mp3 ). So the above format error does not apply to the actual station.
I have found an internal error in our processing of server response headers causing this to all fall over. It’s an easy fix and will be corrected in our next release. The issue is isolated to that server and any others that work the same way, unfortunately there is no work around.
Hi, this means the URL you passed in couldnt be resolved.
This is an error from getaddrinfo(). Check your URL formatting, and if you want the specific gettaddinfo error, please use the logging version of FMOD to see what the error was. This will be in an fmod.log file or your debug tty depending on your settings.
Definitely was the issue. Following the net_stream example, it just passed a string in to the createSound function. I didn’t know i had to encode that string into a UTF8 format. After doing that stream worked like a charm.