If screen capture is supported and appropriate hardware is attached, the video output of the DUT
can be captured. For the testbot, this requires a compatible video capture device to be connected
that works with v4L2 and enumerates on the /dev/video0 interface. If that is the case, then
capture can be started using the Worker class capture() method, for example:
This will trigger video capture to start, and frames will be saved as jpg files in the /data/capture directory (which is a shared volume). Capture will continue until stopped with:
Screen Capture
If screen capture is supported and appropriate hardware is attached, the video output of the DUT can be captured. For the testbot, this requires a compatible video capture device to be connected that works with v4L2 and enumerates on the
/dev/video0interface. If that is the case, then capture can be started using theWorkerclasscapture()method, for example:Example
This will trigger video capture to start, and frames will be saved as
jpgfiles in the/data/capturedirectory (which is a shared volume). Capture will continue until stopped with: