Hello.
Please direct to libraries that allow:
- Get stream from http
- Play it directly in the program.
- And preferably how to make a widget
I don’t know exactly the name of this protocol, so I’ll give you data dumps from the sniffer:
Request:
GET /server.128 HTTP/1.0 Host: radio.server.fm User-Agent: WinampMPEG/5.61, Ultravox/2.1 Ultravox-transport-type: TCP Accept: */* Icy-MetaData:1 Connection: close
Answer:
HTTP/1.0 200 OK Content-Type: audio/mpeg icy-br:128 icy-description:Server.FM icy-genre:Public Radio icy-name:Server icy-pub:1 icy-url:http://server.fm Server: Icecast 2.3.2 Cache-Control: no-cache icy-metaint:16000
Well, then there are already data blocks of 1400-1460 bytes. Those. usual http, reading all this is not difficult, but how to give it to the player and how to get all the information of interest? Track name, etc. Tell me a description of this whole business?