Add second challenge to geomyidae hackathon - brcon2023-hackathons - Bitreichco… | |
git clone git://bitreich.org/brcon2023-hackathons git://enlrupgkhuxnvlhsf6lc3fz… | |
Log | |
Files | |
Refs | |
Tags | |
--- | |
commit 0b407d715bb81bb067eff8471e0793e712275cb3 | |
parent 8309db59b4cc38d41dc05a7b9003e30f3a42c25c | |
Author: Christoph Lohmann <[email protected]> | |
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(-) | |
--- | |
diff --git a/geomyidae/description.md b/geomyidae/description.md | |
@@ -9,6 +9,8 @@ This is the newest feature of geomyidae, to allow old proprieta… | |
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 u… | |
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.… | |
+ User-Agent: (Mozilla compatible)\r\n | |
+ \r\n | |
+ | |
+Example: | |
+ | |
+ GET /admin/metadata?mode=updinfo&mount=%2flive&song=Skrux%20%2d%20Esca… | |
+ 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</r… | |
+ | |
+We want to create some GET handler, which can decode and handle this. | |
+ | |
Have fun! | |