Advice and answers from the Realtime Team

The Realtime protocol is text-based (UTF-8). This means you must convert your binary messages to base64 before sending them to Realtime.

However the current best practice is to save the binary file in some cloud storage (e.g. Cloudinary or AWS S3) and send the file URL in the Realtime message instead of the actual file.

Did this answer your question?