-
-
Save kristianpedersen/107a127251698d44e7dad08c265f72dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Record 200 ms of video – works fine | |
await axios.post(`${httpIP}/control/startRecording`) | |
await new Promise(resolve => setTimeout(resolve, 200)) | |
await axios.post(`${httpIP}/control/stopRecording`) | |
// Wait 10 seconds and play back – 400 error | |
await new Promise(resolve => setTimeout(resolve, 10000)) | |
await axios.post(`${httpIP}/control/startPlayback`, { framerate: 60, position: 0 }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment