Use WebRTC DataChannel API to implement p2p file transfer.
Install dependencies.
pnpm install
Launch signaling server.
pnpm run server
Launch web app.
pnpm dev
- show transferring progress in both sides
- test with large file (more than 1 GB)
- progress bug when transferring large file
- test in LAN (solve https certificate issues)
- parallel file transferring
Parallel file transferring works, but by the limit of bandwidth, transferring 2 file at the same time is not faster than transferring 1 file. The second file's transferring rate will be pretty low.