Skip to content

Implement a fallback to send texts bigger than the max message size#280

Open
schlagmichdoch wants to merge 2 commits intosw_digesterfrom
send_large_texts
Open

Implement a fallback to send texts bigger than the max message size#280
schlagmichdoch wants to merge 2 commits intosw_digesterfrom
send_large_texts

Conversation

@schlagmichdoch
Copy link
Owner

@schlagmichdoch schlagmichdoch commented Feb 21, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant