I have done some (not proper) testing. A410 (USB speed limited), S size images (around 64kB each).
I did get errors like
> rs /tmp -cont=1000
WARNING: timed out waiting for shot script
wait time 31,3551
I've had instances like this where the script didn't start shooting at all, I'm not clear why it happens yet. I don't think it's directly remoteshoot related. The current remoteshoot camera side script in chdkptp doesn't handle this well either, I'll try to check in a better behaved one in a bit.
edit:
If there is an error on the client during shooting but the script is still running, it will block until remotecap times out, and then shoot the remaining shots locally. It would be good to have a way to know from script if remotecap had been canceled by a timeout.
edit2:
but I'm seeing images being saved when they shouldn't be. This may have something to do with filewrite_set_discard_jpeg(1) being after the "pending" wait, but I would expect it to still be set from the previous shot...
edit3:
My earlier patch was insufficient, since it would clear the "pending" flag after the first chunk rather than when the transfer was complete. This was masked the delays I added to make the LED blinking visible.
I've moved on to logging to the camera log from all the different tasks with LogPrintf.
edit4:
One problem that leads to the jpegs being saved on the card is that the filewrite hook for shot N can finish *after* the raw hook sets ignore_current_write for shot N+1