The code is pretty simple. In my VST3 and standalone builds, everything works fine. In my Audio Unit build, this always returns -1
, and the server never receives a request. (HTTP vs. HTTPS doesn’t matter. I’ve tried both.)
auto url = URL(urlString);
auto webInputStream = new WebInputStream(url, false);
webInputStream->connect(nullptr);
if (webInputStream->isError()) {
return -1;
}