Closed supertick closed 1 year ago
There is another way to stream radio, is to use the oob tags in the AIML files if required.
how ? ... is python streaming a real stream or is it downloading a file and playing ?
It's directly the browser that streams. The aiml use webgui service to startBrowser with the link of the radio and that's it. The only pb is that webgui service doesn't seem to have stopBrowser. I have put a gif on discord showing it.
handling all different streams from the web is non trivial .. perhaps a BDD ticket for VLC
Currently the AudioFile service downloads any internet sound file and will cache and play it. However, this will not work with audio streams. An example http://direct.fipradio.fr/live/fip-midfi.mp3 from lecagnois In this case, the read buffer of Http service should go directly to the audioFile in a new stream thread.