Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haixiangyan/react-p2p-chatroom
使用 Peer.js 写的一个 React Chat App
https://github.com/haixiangyan/react-p2p-chatroom
chatrooom peer webrtc
Last synced: about 2 months ago
JSON representation
使用 Peer.js 写的一个 React Chat App
- Host: GitHub
- URL: https://github.com/haixiangyan/react-p2p-chatroom
- Owner: haixiangyan
- Created: 2022-02-14T11:30:46.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-16T09:51:18.000Z (almost 3 years ago)
- Last Synced: 2024-11-02T13:50:15.903Z (2 months ago)
- Topics: chatrooom, peer, webrtc
- Language: JavaScript
- Homepage: https://github.yanhaixiang.com/react-p2p-chatroom/
- Size: 3.75 MB
- Stars: 25
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-p2p-chatroom
## 第一步
```shell
npm run start
```打开两个页面都填上 localhost:3000。
## 第二步
在 A 页面里填入 B 页面里的 Peer Id,点击【视频通话】。
![](./screen/第一步.png)
## 第三步
在 B 页面的弹窗里点击【确认】。
![](./screen/第二步.png)
## 效果
完成视频通话效果。