First start record then auto-connect stream option
Icecast and Shoutcast broadcasting client
Brought to you by:
vc-bipak
We have start recording when connected, but would like to suggest another option/button to first start recording and then connect for streaming, the reason being is, if there is a problem with the connection we can at least have the recording, I know we can manually first hit record and then the stream button, but I'm trying to automate tasks for an unattended setup and this option will help alot.
I have the same need as well. I really appreciate this extremely useful program, by the way.
I have butt set up to automatically record and stream to an icecast server when it is brought up. The problem is that if it has trouble connecting to the icecast server, it won't record locally. I use the local recording for archival purposes. Therefore, I downloaded the source and changed butt to start recording before trying to connect to the server.
If anyone ever needs to implement this themselves, download the source, and modify this:
src/FLTK/fl_callbacks.cpp
After line 175, insert this code (the function is button_connect_cb):
In case fl_callbacks.cpp has changed too much since I have posted this, the change needs to go in the button_connect_cb() function, right before this code: