vj-abishek / airdrop

Relp ✨ A web messenger. Enjoy free text chat and file sharing ✔
https://relp.now.sh
MIT License
81 stars 24 forks source link

File transfer not working #39

Open ricardojlrufino opened 3 years ago

ricardojlrufino commented 3 years ago

image

vj-abishek commented 3 years ago

@ricardojlrufino Sorry for the late reply. What is the file type you tried to send?

vj-abishek commented 3 years ago

It looks like you are connected only to the voice channel. And not connected to the data channel.

vj-abishek commented 3 years ago

Process to make a successful connection:

Peer 1 and peer 2 need to be in online. And both need to be in same conversation page or chatting to enable file transfering. File transfer enabled automatically. When enabled the blue online dot will turn into purple dot. After that you can send unlimited files. And also if in the same network it works without using internet.

The only issue for now is the connection failure issue. I'm working it and will be resolved soon. And also looking for a better solution for connection to establish. And make file transfering easy.

ricardojlrufino commented 3 years ago

yes, i send a file from my phone to PC and it works ...

klauss194 commented 10 months ago

@vj-abishek Have you found a way for better conenction failure ? I'm curious what troubles did you encounter and how can I help to solve them.

vj-abishek commented 10 months ago

Why the connection is failing?

What if the receiver is not available?

What are the other solutions other than using simple-peer?

Useful links:

https://instant.io/ - A demo of webtorrent-based file sharing https://wormhole.app/ - Simple, private file sharing https://wormhole.app/security - Explains how the app is working step by step https://github.com/SocketDev/wormhole-crypto - Encryption client used for encrypting files.

@klauss194 Feel free to ask if u got any other questions.