()
| 681 | |
| 682 | // update video capture, called automatically by engine |
| 683 | function debugVideoCaptureUpdate() |
| 684 | { |
| 685 | ASSERT(debugVideoCaptureIsActive(), 'Not capturing video!'); |
| 686 | |
| 687 | // save the video frame |
| 688 | combineCanvases(); |
| 689 | debugVideoCapture.videoTrack.requestFrame(); |
| 690 | debugVideoCaptureIcon.textContent = '● REC ' |
| 691 | + formatTime(debugVideoCapture.captureTimer); |
| 692 | } |
| 693 | |
| 694 | /////////////////////////////////////////////////////////////////////////////// |
| 695 | // debug utility functions |
no test coverage detected