I am building an application which connects 2 peers (client devices) using WebRTC. This connection allows the 2 peers to send messages back and forth. The messages are not saved in any central server, in other words, each client keeps a copy of the messages for later use. Anyway, lets say one of the client is offline, and the other client sends a message and immediately goes offline. What is the ideal protocol for queueing this message for later delivery once the first client is back online?
I simply don't want to store anything on a server if possible, which begs the question: is this actually possible to do?