Currently, sending messages between Firefox and Chrome that exceed ~180 kB throw an error. This is because the maximum size of WebRTC messages for Chrome is 256 kB and base64 encoding the message bloats it.
This PR implements a fallback for bigger text messages. These are then sent via the File Sending API including a Message Transfer Request.
Currently, sending messages between Firefox and Chrome that exceed ~180 kB throw an error. This is because the maximum size of WebRTC messages for Chrome is 256 kB and base64 encoding the message bloats it.
This PR implements a fallback for bigger text messages. These are then sent via the File Sending API including a Message Transfer Request.