Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: sw_digester
Choose a base branch
from

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.

None yet

1 participant