代码拉取完成,页面将自动刷新
A quick and dirty example to show how minicap might be used as part of an application. Also useful for testing.
adb devices
. The following steps may not work properly if you don't.adb devices
adb forward tcp:1717 localabstract:minicap
adb shell wm size
adb shell dumpsys display
# Try ./run.sh -h for help
./run.sh -P 720x1280@720x1280/0
The first set is the true size of your display, and the second set is the size of the desired projection. Larger projections require more processing power and bandwidth. The final argument is the rotation of the display. Note that this is not the rotation you want it to have, it simply specifies the display's current rotation, which is used to normalize the output frames between Android versions. If the rotation changes you have to restart the server. 5. Start the example app.
PORT=9002 node app.js
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。