Should the latest FMOD HTML5 support createStream from a HTTP url? I tried even from localhost URL but no go. createStream returns FMOD_ERR_UNSUPPORTED “A command issued was not supported by this object. Possibly a plugin without certain callbacks specified.” I am using emscripten from c++ to html5. The c++ version works fine as well from the URL.
When I change from URL to the same mp3 file in local file system, it works and plays fine.
FMOD::System* lowSystem = NULL;
memset(&exinfo, 0, sizeof(FMOD_CREATESOUNDEXINFO));
exinfo.cbsize = sizeof(FMOD_CREATESOUNDEXINFO);
exinfo.suggestedsoundtype = FMOD_SOUND_TYPE_MPEG;
FMOD_MODE fmod_mode = FMOD_DEFAULT | FMOD_CREATESTREAM;
FMOD_RESULT result = lowSystem->createStream(url.c_str(), fmod_mode, &exinfo, &m_sound);