Sending messages and media files
We don't use a storage server to send messages and media files. Instead, messages and media files are exchanged directly between users by using a WebRTC data channel.
When you send a content, it is stored locally in your device in a local encrypted database. We also record in the database the information that some synchronization is necessary with your peer. When such synchronization is necessary, your device then establishes a WebRTC data channel connection to the peer device. The WebRTC data channel is encrypted by using DTLS thus protecting exchanges. As soon as the WebRTC data channel is opened, the two devices synchronize themselves and contents are received or updated.
