|
|
description.md - brcon2023-hackathons - Bitreichcon 2023 Hackathon Repository |
|
|
 |
git clone git://bitreich.org/brcon2023-hackathons git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/brcon2023-hackathons (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
|
--- |
|
|
|
description.md (2119B) |
|
|
|
--- |
|
|
|
1 # Geomyidae Hackathon |
|
|
|
2 |
|
|
|
3 Check out: |
|
|
|
4 |
|
|
|
5 gophers://bitreich.org/1/PUT |
|
|
|
6 gophers://bitreich.org/1/SOURCE |
|
|
|
7 |
|
|
|
8 This is the newest feature of geomyidae, to allow old proprietary web |
|
|
|
9 protocols to be compatible with gopherspace. Our goal is to make gopher |
|
|
|
10 conferencing possible. |
|
|
|
11 |
|
|
|
12 ## WebRTC |
|
|
|
13 |
|
|
|
14 We will need some WebRTC server: |
|
|
|
15 |
|
|
|
16 https://janus.conf.meetecho.com/docs/deploy.html |
|
|
|
17 |
|
|
|
18 The goal is to have a native p2p webrtc client, which can be pointed at |
|
|
|
19 geomyidae instances. |
|
|
|
20 |
|
|
|
21 See this website for vast resources of how webrtc actually isn't the web |
|
|
|
22 and can be done without it: |
|
|
|
23 |
|
|
|
24 http://www.sasadoctor.com/wp-content/uploads/2020/06/jach9/gstreamer-webrtc-example.html |
|
|
|
25 https://github.com/RSATom/janus-gstreamer-plugin |
|
|
|
26 |
|
|
|
27 The goal for geomyidae is to modify PUT/SOURCE/GET to be a universal |
|
|
|
28 router script for further protocols, which allows detecting websockets |
|
|
|
29 (see janus deploy page) with standard GET/PUT. |
|
|
|
30 |
|
|
|
31 ## Icecast metadata stream |
|
|
|
32 |
|
|
|
33 For setting metadata, icecast client send following requests. |
|
|
|
34 |
|
|
|
35 Icy-Protocol. |
|
|
|
36 |
|
|
|
37 GET /admin.cgi?mode=updinfo&pass=password&metadata HTTP/1.0\r\n |
|
|
|
38 User-Agent: (Mozilla compatible)\r\n |
|
|
|
39 \r\n |
|
|
|
40 |
|
|
|
41 Or: |
|
|
|
42 |
|
|
|
43 GET /admin/metadata?mode=updinfo&mount=mount&metadata HTTP/1.0\r\n |
|
|
|
44 User-Agent: (Mozilla compatible)\r\n |
|
|
|
45 \r\n |
|
|
|
46 |
|
|
|
47 Or: |
|
|
|
48 |
|
|
|
49 GET /admin.cgi?mode=updinfo&pass=password&mount=mount&metadata HTTP/1.0\r\n |
|
|
|
50 User-Agent: (Mozilla compatible)\r\n |
|
|
|
51 \r\n |
|
|
|
52 |
|
|
|
53 Example: |
|
|
|
54 |
|
|
|
55 GET /admin/metadata?mode=updinfo&mount=%2flive&song=Skrux%20%2d%20Escapade%2dIufdJpZT%5fak HTTP/1.0 |
|
|
|
56 User-Agent: libshout/2.4.1 |
|
|
|
57 Authorization: Basic XXXXXXXXXXXXXXXXXXX |
|
|
|
58 |
|
|
|
59 HTTP/1.0 200 OK |
|
|
|
60 Server: bitreich audio streamer v1.2 |
|
|
|
61 Connection: Close |
|
|
|
62 Date: Fri, 11 Aug 2023 07:38:49 GMT |
|
|
|
63 Content-Type: text/xml; charset=utf-8 |
|
|
|
64 Cache-Control: no-cache, no-store |
|
|
|
65 Expires: Mon, 26 Jul 1997 05:00:00 GMT |
|
|
|
66 Pragma: no-cache |
|
|
|
67 Content-Length: 113 |
|
|
|
68 |
|
|
|
69 <?xml version="1.0"?> |
|
|
|
70 <iceresponse><message>Metadata update successful</message><return>1</return></iceresponse> |
|
|
|
71 |
|
|
|
72 We want to create some GET handler, which can decode and handle this. |
|
|
|
73 |
|
|
|
74 ## GET HYPE |
|
|
|
75 |
|
|
|
76 This is a proposal by adc: Simply implement some funny handler for |
|
|
|
77 someone requesting 'GET HYPE' to geomyidae. |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 Have fun! |
|
|
|
81 |
|
|
|
82 |
|