Thanks erik ,
Here is some example code for what I get. I tested it with 1.20.0 and got the following. Unfortunately the code becomes a bit messy will all options, but it's configurable with defines at the top.
This is what I get from the different configurations.
Camera preview feeds the network. Running detections and both network output and passthrough has the expected sequence number.
#define PREVIEW_FEED
//#define INPUT_PASSTHROUGH
<F3><F4><F5><F6><F7><F8><F9><D6><P6><F10><F11><F12><D9><P9><F13><F14><F15><F16><D13><P13><F17>...
Host creates network input from frame. Running detections, but network output always has sequence number zero. (No passthrough used. This is the solution I would prefer.)
//#define PREVIEW_FEED
//#define INPUT_PASSTHROUGH
<F3><F4><F5><F6><F7><F8><F9><D0><F10><F11><F12><F13><D0><F14><F15><F16><D0><F17>...
Host creates network input from frame. Single detection and preview then no more, output has sequence number zero, but passthrough has correct sequence number.
//#define PREVIEW_FEED
#define INPUT_PASSTHROUGH
<F3><F4><F5><F6><F7><F8><F9><D0><P3><F10><F11><F12><F13><F14><F15><F16><F17>...