# @Simaq/core 录屏核心 SDK ## npm 私服地址 [http://192.168.0.47:4873/-/web/detail/@simaq/core](http://192.168.0.47:4873/-/web/detail/@simaq/core). ## Installation ```bash npm install @Simaq/core ``` ## Usage ```bash import { VideoRecorder } from '@simaq/core'; const videoRecorder = new VideoRecorder({ uploadUrl: '', resolution: '4k', autoDownload: true, debug: true, // 是否调试, }); // 开始录屏 const handlerStartRecord = videoRecorder.startRecord; // 停止录屏 const handlerEndRecord = videoRecorder.endRecord; # # ```