Hi I'm new to JUCE, have done a bit of cpp in the past though.
I want to receive an icecast stream directly and output the audio by a vst, I've been experimenting for a week but I'm now stuck!
I was looking at the URL class and readEntireBinaryStream. The problem is that the vst freezes when I call readEntireBinaryStream, I believe it is because the url is constently sending audio stream data so the call never ends.
I've tried implementing the OpenStreamProgressCallback callback in createinputstream but can't seem to understand how to declare this function. Would you have an example for the syntax?
I think what I'm looking for is an asynchronous url request, whereas URL seems to implement a synchronus request. Should I use a thread for this?