Re: Any Radio Over Gopher [Bitreich Radio]
Paul Lindner <[email protected]>
| Newsgroups | gmane.network.gopher.general |
|---|---|
| Message-ID | <CAMJWv07k0XUHXHLWAh1ZDkA1VVhShvhbpnUhKtzsg0VD7sGwcA@mail.gmail.com> |
[lindner@mirth umn-stuff]$ more gopher1.0-new/doc/radio.doc
Internet Gopher Radio Hack
University of Minnesota
Version 0.2
I. Overview of the Internet Gopher Radio Hack.
The Internet Gopher is a distributed document delivery service. It
allows a neophyte user to access various types of data residing on
multiple hosts in a seamless fashion. This is accomplished by
presenting the user a hierarchical arrangement of documents and by
using a client-server communications model. The Internet Gopher
Radio Server and client allows one to listen to real-time digitized
sound across a network.
II. Installing radio and radiod.
Since this is just a hack, refer to the Gopher client and server for
more information.
Currently the only platforms that this works on are sun and Next.
III. Using radio and radiod.
First attach a source of live sound to a machine. Now run the radio
daemon, "radiod". (If you have a NeXT you will have to install the
play and record programs provided.).
Now type radio <hostname> <portnum> on another machine with audio
capabilities. You should be able to hear what's being digitized on
the other end.
Hint:
To get the input level set right do the following on the server:
straylight% record - |play -
This will digitize and play on the local machine.
On Thu, Sep 17, 2020 at 10:05 AM Christoph Lohmann <20h-hp7/[email protected]> wrote:
> Greetings comrades.
>
> In a discussion about how to implement streaming audio over gopher at
> bitreich, we came up with a really simple solution.
>
> ## Raw Commands
>
> On bitreich.org:
> % cd gopher/radio
> % mkdir play
> % cd play
> % cat > index.cgi
> #!/bin/sh
> STREAMURI="http://bitreich.org:3232/live"
> curl -s "${STREAMURI}" 2>/dev/null
> ^D
> % chmod +x index.cgi
>
> On my laptop:
> % mpv gopher://bitreich.org/9/radio/listen
>
> You can also use vlc or any ffmpeg-based player from HEAD. Sadly there
> are no versions tagged with the gopher support. Gopher is so simple,
> every device out there should be able to do:
>
> % printf "/radio/listen\r\n" | nc bitreich.org 70 | mpv /dev/stdin
>
> ## Summary
>
> In the above example I simply created a »play« dir, where »radio« on
> bitreich.org is served over gopher. There some index.cgi file is created,
> which simply gets the streaming URI and outputs it to stdout.
>
> When geomyidae finds some index.gph, index.cgi, index.dcgi or
> index.bin, it will serve them instead of showing a directory listing.
> The index.cgi will be executed and serve the stream from http to
> gopher.
>
> Without much hassle every other media stream can be served over gopher
> using this method. Imagine running ffmpeg in that script, converting
> rtmp to a simple ogg video stream.
>
> Gopher is fun! :)
>
>
> Sincerely,
>
> Christoph Lohmann
>
> Please activate Javascript to see the full signature.
>
>