If you use the automatic mode (default), the recording starts automatically when a user joins the channel. In this mode, you cannot pause the recording.
If you use the manual mode (triggerMode
set as 1), use the following methods to start and pause the recording:
To control all the recording sessions:
killall -s 10 recorder_local
killall -s 12 recorder_local
To control an individual recording session:
Get the PID:ps aux | grep 'channelName'
Control the recording session by the PID
kill -s 10 PID
kill -s 12 PID
The recording stops automatically when there is no user in the channel after a time period set by the idle parameter. The default value is 300 seconds.
To manually stop recording, press Ctrl + C to end the command-line session.