# webRTC **Repository Path**: panmins/webRTC ## Basic Information - **Project Name**: webRTC - **Description**: webRTC + Electron + Vue构建的P2P视频通话客户端应用 - **Primary Language**: JavaScript - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2022-07-25 - **Last Updated**: 2025-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webRTC #### 介绍 webRTC学习demo #### 软件架构 1. server文件夹主要是express+socket.io搭建的信令服务器 2. client文件夹是vue2和electron13开发的跨平台pc客户端 3. 部署环境需要提供云服务器和PM2守护进程 #### 安装教程 1. git clone https://gitee.com/invictuspm/webRTC.git 2. 客户端 ```js 切换目录 cd ./client 安装依赖 yarn 运行项目 yarn electron:serve 打包项目 yarn electron:build ``` 3. 服务端 ```she 切换目录 cd ./server 安装依赖 yarn 运行项目 yarn dev ``` #### 使用说明 1. 服务端需要将host改为自己服务器IP 2. 客户端需要将host和服务端保持一致 3. 打包exe文件在dist目录下,在vue.config.js可自行配置 4. 客户端运行过程中需要安装vue devtools扩展,需要科学上网 #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request