09 2023 档案

摘要:1、查看串口 ls -l /dev/ttyACM0 crw-rw 1 root dialout 166, 0 5月 24 17:17 /dev/ttyACM0 2、可以看到用户 (owner 是 root)而所属用户组为 dialout, 因此一种方法是把我们的登陆账号加入到这个用户组。 查看系统用 阅读全文
posted @ 2023-09-19 10:29 ziff123 阅读(1050) 评论(0) 推荐(0) 编辑
摘要:1、确保已经安装了 Node.js 和 npm。 2、在你的 Electron 项目目录下,执行以下命令安装 electron-debug: npm install --save-dev electron-debug 3、修改主进程(main process)的启动代码(通常在 main.js 文件 阅读全文
posted @ 2023-09-15 11:37 ziff123 阅读(379) 评论(0) 推荐(0) 编辑
摘要:1、项目结构: 2、前端: a、index.html <!DOCTYPE html> <html> <head> <title> WebRTC demo </title> </head> <body> <h1> WebRTC Demo </h1> <div id="buttons"> <input 阅读全文
posted @ 2023-09-11 17:41 ziff123 阅读(21) 评论(0) 推荐(0) 编辑
摘要:webRTC报“OperationError: Failed to execute 'setLocalDescription' on 'RTCPeerConnection': Failed to set local offer sdp: Called in wrong state: have-rem 阅读全文
posted @ 2023-09-07 09:01 ziff123 阅读(461) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示