Comment by 🦁 Houjimmy

Re: "[#12] Is streaming media possible? Was trying to set up a radio…"

In: s/GmCapsule-Issues

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.

🦁 Houjimmy

2024-09-04 Β· 2 years ago

3 Later Comments ↓

πŸ’Ž istvan [OP] Β· 2024-09-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] Β· 2024-09-04 at 21:53:

Edit: My mistake. I missed the [server] section.

🦁 Houjimmy · 2024-09-06 at 05:26:

Ok, I did not know. Anyway, is a good streaming. Thanks for sharing.

Original Post

πŸŒ’ s/GmCapsule-Issues

πŸ’Ž istvan:

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...

πŸ’¬ 9 comments Β· 1 like Β· 2024-09-04 Β· 2 years ago