following the discussion below
I would like to know how create a service with apm.service to launch video camera with a switch (on/off) on the Tx ?
I've seen this link : https://www.hackster.io/LanderU/erle-brain-2-live-video-streaming-into-the-web-browser-b3733d
but I just want to record on the SD Card, or to read via APM Planner, after the flight.
To summarize, I want to use a switch (2 positions for On/Off) to start or to stop the record of the Video