# own_ffmpeg **Repository Path**: fxan/own_ffmpeg ## Basic Information - **Project Name**: own_ffmpeg - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-09-27 - **Last Updated**: 2025-09-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README https://oss.npmmirror.com/dist/node/v14.2.0/node-v14.2.0-x64.msi npm install -g cnpm --registry=https://registry.npm.taobao.org 设置淘宝镜像 npm config set registry https://registry.npm.taobao.org https://blog.csdn.net/qq_40442753/article/details/111714631 https://blog.csdn.net/weixin_41981909/article/details/118333918 解决 gy err 问题 https://blog.csdn.net/FengZ1/article/details/108484238 npm config set python C:/Python27/python.exe This is a bug in `node-gyp`. Try to update node-gyp and file an Issue if it does not help 问题原因:因为 node-gyp 老版本有 bug(据网上说是 v5 v6 的问题),导致在 npm install 时报错,运行上述命令会安装 8.0.0 版本的 node-gyp,就可以解决问题 npm install -g node-gyp npm install -g electron@13.6.3 https://www.cnblogs.com/ybixian/p/12293455.html https://ml.mbd.baidu.com/r/zas6uzus2k?f=cp&u=ff3e714d1eb1ab16 【Electron npm install 常见错误(Windows)\_weixin_30546933 的博客-CSDN 博客】https://blog.csdn.net/weixin_30546933/article/details/98139236 https://cloud.tencent.com/document/product/269/63007 查看 npm 配置 c:\www\yafangpc>npm config list ; cli configs metrics-registry = "https://registry.npm.taobao.org/" scope = "" user-agent = "npm/6.14.4 node/v14.2.0 win32 x64" ; userconfig C:\Users\44879\.npmrc python = "C:\\Users\\44879\\.windows-build-tools\\python27" registry = "https://registry.npm.taobao.org/" ; builtin config undefined prefix = "C:\\Users\\44879\\AppData\\Roaming\\npm" ; node bin location = C:\Program Files\nodejs\node.exe ; cwd = c:\www\yafangpc ; HOME = C:\Users\44879 ; "npm config ls -l" to show all defaults. # IM Electron Demo1 IM(Instant Messaging) Electron Demo 包含了即时通信(IM)和实时音视频(TRTC)的能力,简单接入、稳定必达,通过腾讯云服务向开发者开放,致力于帮助开发者快速搭建低成本、可靠的、高品质的通信解决方案。产品参考: [即时通信(IM)](https://cloud.tencent.com/product/im) ## 如何启动项目 ``` // install package npm install cd src/client npm install // run npm run start ``` ## 如何打包 ``` // 打包mac app npm run build:mac // 打包windows app npm run build:windows ``` 密码 8998 https://qcloudimg.tencentcs.com/tea/index.html#/component/icon 腾讯 ui 组件 ## 常见问题 - 1: 安装开发环境问题,`gypgyp ERR!ERR`, 参考[链接](https://stackoverflow.com/questions/57879150/how-can-i-solve-error-gypgyp-errerr-find-vsfind-vs-msvs-version-not-set-from-c). - 2: Mac 端执行`npm run start` 会出现白屏,原因是渲染进程的代码还没有 build 完成,主进程打开的 3000 端口为空页面,当渲染进程代码 build 完成重新刷新窗口后即可解决问题。或者执行`cd src/client && npm run dev:react`, `npm run dev:electron`, 分开启动渲染进程和主进程。 - 3: Macos 签名公证参考[链接](https://xingzx.org/blog/electron-builder-macos) - 4: Windows 下开发一些问题参考[链接](https://blog.csdn.net/Yoryky/article/details/106780254); ## 文档链接 - [IM Electron SDK 文档](https://comm.qq.com/toc-electron-sdk-doc/index.html) - [TRTC Electron SDK 文档](https://web.sdk.qcloud.com/trtc/electron/doc/zh-cn/trtc_electron_sdk/index.html) ## 联系方式 - 开发群 二维码