💾 Archived View for bbs.geminispace.org › u › Houjimmy › 19400 captured on 2024-12-17 at 15:59:23. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Re: "Is streaming media possible? Was trying to set up a radio..."
Man, I found your link and started to watch your streaming. Is working pretty well and there is not much data usage, 15mb in 10 minutes. I also liked the music. Thank you for your hard work, I will probably listen to it every time I connect in Gemini.
Sep 04 · 3 months ago
💎 istvan [OP] · Sep 04 at 19:45:
@Houjimmy Not my stream! That stream is curated by the Hashnix community users. Not trying to steal credit for their creativity.
💎 istvan [OP] · Sep 04 at 21:53:
Edit: My mistake. I missed the [server] section.
Ok, I did not know. Anyway, is a good streaming. Thanks for sharing.
My approach was to place a script in the CGI directory that prints "20 audio/mpeg\r\n", and then opens a handle to the Icecast stream and begins reading and printing it 1024 bytes at a time. When I do this from gmcapsule, the page loads forever whereas hashnix is opening an audio player (tested in Lagrange). Not sure if something is wrong in my approach, or if gmcapsule is hanging where it waits for the script to terminate before returning output. Since it's a stream it isn't designed to...