Start/stop streaming server based on signal

You have a question or need an advice about how to do something? Ask it here!
Post Reply
ClementN
Posts: 5
Joined: 04 Apr 2021 07:02
Start/stop streaming server based on signal

Post by ClementN »

Hello,

Is it possible to set a streaming server to start on signal presence and stop o silence?

Thank you,
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Start/stop streaming server based on signal

Post by radio42 »

There are control commands available to start and stop any streaming server. Plus ProppFrexx can monitor the audio level of the mixer channels and trigger an OnSilemce and OnNoise event, I’m which you can then use the above mentioned commands.

So yes, that is possible, but uncommon ;-)
ClementN
Posts: 5
Joined: 04 Apr 2021 07:02
Re: Start/stop streaming server based on signal

Post by ClementN »

Thank you, Bernd.

Can you please tell me how long the "silence" or the "noise" should be to trigger the command?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Start/stop streaming server based on signal

Post by radio42 »

It is only triggered once when it crosses the defined threshold. You can also freely define how long it has to stay below the threshold in order to trigger the OnSilent even. But it triggers the OnNoise event immediately.
ClementN
Posts: 5
Joined: 04 Apr 2021 07:02
Re: Start/stop streaming server based on signal

Post by ClementN »

Thank you, Bernd.

Very useful.

Also, I need to do same thing (start/stop based on silence/noise) for recording.

But it seems I can't find control commands for doing that (start/stop recording).

Are they there and I missed them?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Start/stop streaming server based on signal

Post by radio42 »

There is an automatic recording feature and a manual recording feature.
See the User Manual appendix for a list of all available commands.
E.g. manual recording can be started stopped by:
MIXER_OUTPUT_REC_ON/OFF
MIXER_INPUT_REC_ON/OFF

For manually recording these are however not really needed, as there a feature already exists: a so called AutoSensing mode.
It is explained here:
https://www.proppfrexx.radio42.com/foru ... p=494#p494
(read the whole thread)

As such, use the Auto Sensing feature and maybe also the mixer channels Auto Start Recording option.

The Auto Recording feature simply records everything with no dB level monitoring and splits each recording at every hour.
ClementN
Posts: 5
Joined: 04 Apr 2021 07:02
Re: Start/stop streaming server based on signal

Post by ClementN »

Excellent. So useful.

In "Auto Sensing" - "Pause" is there any amount of time with silence that will cause the recoding to start a new file?

What happens if I just close the application while "Auto Sensing" - Pause is running ? Will it start a new file when the application is started again and the channels sense noise?
Will the already recorded file be damaged in anyway by closing the ProppFrexx?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Start/stop streaming server based on signal

Post by radio42 »

If noise appears above the dB threshold, the Pause is resumed automatically, but no new file is created. That happens in case of the New Session, if a new program for example starts or the time limit is reached.

When the application is restarted all starts from scratch. So the answer is no.
But if the Auto Start recording option is on, it would regardless start again. But the previous. Recording should not be damaged when the application is gracefully closed of course.

Post Reply