I try to read audio-data by using the networkaccess manager and qnetworkrequest.
this works fine for 'normal' http-streaming server.
but when connecting to an ICY-Server, there is a unknown error reported.
Reason for this is in QHttpNetworkReply
in line 483
there is a check for the correct headers
...
if (fragment.length() >= 5 && !fragment.startsWith("HTTP/"))
...
ICY-Servers doesn't send a 'HTTP/1.0 200 OK' but they send a 'ICY 200 OK'
instead.
this is a url for testing this problem:
http://78.159.104.139:80
is there any way to read the audio-data in qt?
in libcurl there is a (dirty) hack for setting http200 aliases....i haven not found something in qt for this case....
every hint is welcome....
Thank you
Bookmarks