Add second challenge to geomyidae hackathon - brcon2023-hackathons - Bitreichcon 2023 Hackathon Repository HTML git clone git://bitreich.org/brcon2023-hackathons git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/brcon2023-hackathons DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 0b407d715bb81bb067eff8471e0793e712275cb3 DIR parent 8309db59b4cc38d41dc05a7b9003e30f3a42c25c HTML Author: Christoph Lohmann <20h@r-36.net> Date: Fri, 11 Aug 2023 09:40:53 +0200 Add second challenge to geomyidae hackathon Diffstat: M geomyidae/description.md | 45 +++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+), 0 deletions(-) --- DIR diff --git a/geomyidae/description.md b/geomyidae/description.md @@ -9,6 +9,8 @@ This is the newest feature of geomyidae, to allow old proprietary web protocols to be compatible with gopherspace. Our goal is to make gopher conferencing possible. +## WebRTC + We will need some WebRTC server: https://janus.conf.meetecho.com/docs/deploy.html @@ -26,6 +28,49 @@ The goal for geomyidae is to modify PUT/SOURCE/GET to be a universal router script for further protocols, which allows detecting websockets (see janus deploy page) with standard GET/PUT. +## Icecast metadata stream + +For setting metadata, icecast client send following requests. + +Icy-Protocol. + + GET /admin.cgi?mode=updinfo&pass=password&metadata HTTP/1.0\r\n + User-Agent: (Mozilla compatible)\r\n + \r\n + +Or: + + GET /admin/metadata?mode=updinfo&mount=mount&metadata HTTP/1.0\r\n + User-Agent: (Mozilla compatible)\r\n + \r\n + +Or: + + GET /admin.cgi?mode=updinfo&pass=password&mount=mount&metadata HTTP/1.0\r\n + User-Agent: (Mozilla compatible)\r\n + \r\n + +Example: + + GET /admin/metadata?mode=updinfo&mount=%2flive&song=Skrux%20%2d%20Escapade%2dIufdJpZT%5fak HTTP/1.0 + User-Agent: libshout/2.4.1 + Authorization: Basic XXXXXXXXXXXXXXXXXXX + + HTTP/1.0 200 OK + Server: bitreich audio streamer v1.2 + Connection: Close + Date: Fri, 11 Aug 2023 07:38:49 GMT + Content-Type: text/xml; charset=utf-8 + Cache-Control: no-cache, no-store + Expires: Mon, 26 Jul 1997 05:00:00 GMT + Pragma: no-cache + Content-Length: 113 + + <?xml version="1.0"?> + <iceresponse><message>Metadata update successful</message><return>1</return></iceresponse> + +We want to create some GET handler, which can decode and handle this. + Have fun!