Results 1 to 3 of 3

Thread: QNetworkAccessmanager and ICY-Server

  1. #1
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default QNetworkAccessmanager and ICY-Server

    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

  2. #2
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QNetworkAccessmanager and ICY-Server

    no idea anyone?

  3. #3
    Join Date
    Jul 2010
    Posts
    15
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QNetworkAccessmanager and ICY-Server

    is there really no way to adopt the html protokoll? do i have to use low level socket?

Similar Threads

  1. QNetworkAccessManager timeout when server is down?
    By martinn in forum Qt Programming
    Replies: 8
    Last Post: 9th January 2014, 17:32
  2. QNetworkAccessManager
    By cuteatul in forum Qt Programming
    Replies: 1
    Last Post: 8th July 2011, 06:34
  3. [TCP Server] Server only sending when terminating
    By papperlapapp in forum Qt Programming
    Replies: 0
    Last Post: 6th December 2010, 20:41
  4. QNetworkAccessManager or QHttp
    By mind_freak in forum Qt Programming
    Replies: 3
    Last Post: 29th September 2009, 21:24
  5. Replies: 5
    Last Post: 2nd June 2009, 20:47

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.