Sending files via sound, js example #63
-
Hi! First of all, thank you for the great library! I've found that using waver we can send files from one device to another. Can this be done inside a web application? If so, are there any examples of how to do it correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, thanks for the feedback! The web application does not support sharing files. Note that the mobile application (iOS and Android) uses sound only to establish the connection between the devices. The actual data transfer is performed over the TCP protocol. You might want to check the wave-share project which allows web applications to share files with each other using data-over-sound. Note that only the signalling is performed via sound. The actual data transfer is performed via WebRTC. |
Beta Was this translation helpful? Give feedback.
Hi, thanks for the feedback!
The web application does not support sharing files.
The reason is that Waver uses the TCP protocol to perform the actual file transfer and web browsers do not allow peer-to-peer TCP connections.
Note that the mobile application (iOS and Android) uses sound only to establish the connection between the devices. The actual data transfer is performed over the TCP protocol.
You might want to check the wave-share project which allows web applications to share files with each other using data-over-sound. Note that only the signalling is performed via sound. The actual data transfer is performed via WebRTC.