added start_capture(), stop_capture() API functions