Capturing 2 seconds video

Hey hi,

now i choose auto recording an di need to capture game play only for 2 seconds is it possible… am using this api.

It is possible to achieve this in two ways:
One, you can call start capture, and then stop capture just two seconds later
Alternatively, you can use the capture command, which will just capture a given amount of time directly