Juvenal-Yescas / Radio-Stream

Stream your local radio over the internet using ngrok

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radio-Stream

Tool that will help to transmit the radio over the internet, using ngrok as a tunnel generating a secure link every time you start the computer.

The final generated json file can be processed in your own way to share the link.

How it works:

Use Icecast server and send the audio using OddcastV3.

alt text

Then it generates a secure link to the local server.

alt text

The final file generated Config/radio-ngrok.json contains the link in the public_url parameter, you just need to add radio-stream.mp3 to tune it.

{
   "name":"radio",
   "uri":"/ api / tunnels / radio",
   "public_url":"https://26faa228.ngrok.io",
   "proto":"https",
   "config":{
      "addr":"localhost: 8000",
      "inspect":false
   },
   "metrics":{
      "conns":{
         "count":0,
      },
      "http":{
         "count":0,
      }
   }
}

Example: https://26faa228.ngrok.io adding /radio-stream.mp3

alt text

Installation

  • It is necessary to add the ngrok token in the Ngrok/ngrok.yml file.

  • Clone the repository in the C:\ directory leaving as follows:

C:\Radio-Stream\

It is necessary to run Config/Autorun-Server.reg to add the task and the autorun script so that when the computer is started, it is automatically configured and hidden.

More configurations:

alt text

Note:

You can configure OddcastV3/OddcastV3Standalone.exe in your own way but it is recommended that you do not edit the name of the radio since the script checks if the server was configured correctly using Stream name myRadio, if you were to edit this name also edit the file OddcastV3/check/check.bat on line 5.

1| @echo off
2|
3| :check_audio
4| call C:\Radio-Stream\Tools\curl.exe -o radio-oddcast http://localhost:8000
5| find /i "myRadio" < radio-oddcast > onlineRadio
6| del radio-oddcast

OddcastV3/check/check.bat

Features:

  • Auto startup.
  • Configurable.
  • Written completely in batch.

About

Stream your local radio over the internet using ngrok


Languages

Language:HTML 65.7%Language:XSLT 21.0%Language:CSS 11.5%Language:Batchfile 1.4%Language:Visual Basic 0.4%