📜 ⬆️ ⬇️

Stream radio or police wave online

When I bought a walkie-talkie, I walked with a headset for two weeks and listened to everything. Taxi, ship dispatchers, railway workers, police, builders, security guards. Then came the idea that listening is simply not so interesting. We must give listen to the rest!

Interesting?

Actually, I already told about the walkie-talkie here: tyts .
In short: the radio of the original Chinese company Puxing (yes, yes to lovers of Zopo and Huawei firms), receiving in the UHF and VHF bands, transmitting, however, only in UHF. Bought on dynodirekte . Here it is:
image

So. Step one, connect the radio to the computer.

Laziness and zhoporchestvo prompted to attach a microphone to the radio, but common sense did not allow it.
Therefore, the collective farm adapter on the divider:
image
With the physical meaning can be found here . I did not count, I just figured it would fit in from stocks and almost guessed right.
We plug one plug into the headset jack, the second plug into the microphone. It was possible and in the line input, but I do not have it. We set the volume on the headset, and the microphone level on the computer. You can put Audacity and start recording (by the way, there is a level record that will allow you to get rid of the pauses between conversations).
Here's an example of this:
Taxi Channel Evening
DPS nicks
But the soul wanted sex, preferably with servers of something more.

Let me repeat the picture from the title:

For a full broadcast, we need: Gateway, digitizing the audio signal, and transmitting it to the server. And the server that this audio stream will distribute to everyone.
')

Step two, configure the gateway

Gateway that transmits an audio stream to a server. In this capacity, a regular computer will be used, which one hell will not turn off anyway. I would be happy to use it as a server, but, I'm afraid not you keep it not so much that habraeffekt, but at least a dozen listeners at a time - the ascending channel is very thin.
Software - SAM Broadcaster.

I'm too lazy to describe its setting, and there is nothing complicated there. Specify the microphone input as a source, set the flow parameters, and register the server address. Stop. What server?

Step three, start the server

We go to amazon (however, any server with access to the shell will do, but Amazon has good hourly rates and an easy opportunity to increase capacity), and create a new Instance.
Again, AWS setup descriptions are beyond the scope of this article. A good guide, in which everything is chewed, is here .

It also describes how to install ddclient to access the server by its normal name, not by IP. I advise you to do it right away, and to drive in the sftp and ssh clients the name is already.
After that, we need to install the Icecast server, which will distribute the audio stream.
Ubuntu such ubuntu, apt-get install icecast2 and all. The setting is described here.

With a reservation - Ices no need to bet, this is a program for playing music from the server itself.
For those who want everything to be beautiful - even nginx (apt-get install nginx) for the web snout, and Uppod for the flash player on the site.
Advertising to pay for the server, and counters - on request.

In general, listen: Russian Cops Broadcast Radio


1) If there is silence on the channel, then this means ... it means nothing. maybe they are just silent, maybe they are asleep, maybe my computer has passed out, or the Internet has disappeared (the same way).
2) I am in Vladivostok, and the activity on the channel is also coastal time. Morning in Moscow, or night.
3) I cannot keep the broadcast forever, maybe a week, maybe a little more. How to turn off - I will write, do not be offended.
UPD:
For the first day:
The maximum number of students - 250, the average - 20. Earned 40 rubles for advertising.
620 people spent on the site for more than 5 minutes.
23466 connections
11,738 unique visitors
29.871 GB spent and 122 Hrs was allocated an IP total of $ 5.14 money.

UPD2:
On the third day only 100 visitors. Habraeffekt passed.

UPD3: 0 people listening, 0 in chat. Stopped the server. Who wants to continue - welcome, mail in the profile.

Source: https://habr.com/ru/post/145973/


All Articles