Thank you. I think the message size is limited based on this from the native messaging API under “App Side”.
On the application side, you use standard input to receive messages and standard output to send them.
Each message is serialized using JSON, UTF-8 encoded and is preceded with a 32-bit value containing the message length in native byte order.
The maximum size of a single message from the application is 1 MB. The maximum size of a message sent to the application is 4 GB.
When I was building the JSON strings in the C app. to send back to the extension, I made a few mistakes and sent too large a string and the extension threw an error concerning the size being too large.
Isn’t there away to get pass “a link” to the blob and have the browser read it as it would when the src is set in a media object? A local HTML page can read a local media file when the path is relative; I was hoping that the C app could some how provide the blob reference and the browser could just read it.
Thanks.