文件名称:screen-recorder:Node的OS X屏幕录制库
文件大小:7KB
文件格式:ZIP
更新时间:2024-05-17 08:19:57
Objective-C++
屏幕录像机 Node的OS X屏幕录制库 安装 npm install screen-recorder 例子 var ScreenRecorder = require('screen-recorder').ScreenRecorder var path = require('path') var movie = new ScreenRecorder(path.resolve(__dirname, 'test.mp4')) // [, displayId] movie.setCapturesMouseClicks(true) movie.setCropRect(0, 0, 500, 500) movie.setFrameRate(30) // default is 15 movie.recordAudio() movie.start() setTimeout(function() { m
【文件预览】:
screen-recorder-master
----.gitignore(53B)
----ScreenRecorderWrapper.mm(4KB)
----ScreenRecorder.m(2KB)
----package.json(722B)
----addon.cc(153B)
----LICENSE(1KB)
----index.js(66B)
----test.js(393B)
----ScreenRecorder.h(528B)
----README.md(502B)
----ScreenRecorderWrapper.h(970B)
----binding.gyp(567B)
----.npmignore(23B)