(source, format, upscale)
| 6021 | } |
| 6022 | |
| 6023 | async takeScreenshot(source, format, upscale) { |
| 6024 | return new Promise((resolve) => { |
| 6025 | this.screenshot((blob, format) => { |
| 6026 | resolve({ blob, format }); |
| 6027 | }, source, format, upscale); |
| 6028 | }); |
| 6029 | } |
| 6030 | |
| 6031 | collectScreenRecordingMediaTracks(canvasEl, fps) { |
| 6032 | let videoTrack = null; |
no test coverage detected