status-im / status-desktop

Status Desktop client made in Nim & QML
https://status.app
Mozilla Public License 2.0
296 stars 78 forks source link

Enable support for larger images and audio messages (increase max size setting) #9923

Closed John-44 closed 2 months ago

John-44 commented 1 year ago

Edit

The chunking part is done. See this comment: https://github.com/status-im/status-desktop/issues/9923#issuecomment-2009389837

The missing part is increasing the Max size for binaries.

Problem:

Solution

Other notes

cc'ing @iurimatias

jrainville commented 11 months ago

FYI, there is a strong chance that https://github.com/status-im/status-desktop/issues/12188 fixes this issue as well, since we'll do a more generic solution that chunks messages that exceed the waku limit

iurimatias commented 8 months ago

moving to 2.29 due to lack of space in this milestone, however this could be done in the stabilization period with other refactors if there is room

osmaczko commented 7 months ago

Add support to status-go to split binary files that are larger than 125kb into several waku messages, each with a 125kb payload. Then at the recipient's end, reconstruct the binary from these multiple waku messages.

That's been addressed with https://github.com/status-im/status-go/pull/4285. The solution is generic, allowing it to split any message payload that exceeds the limit. Currently, the limit for one segment is 0.75 MiB, but this can easily be changed and will remain backward-compatible.

jrainville commented 7 months ago

I feel like we could close this issue, though we didn't increase the max size of binaries, so maybe we can keep it opened until we actually do the increases and test them.

cammellos commented 5 months ago

This looks like it should be descoped after the offsite discussion, what do you think @John-44 @jo-mut @iurimatias @osmaczko ?

jo-mut commented 5 months ago

it would be nice to have this however, at this moment it does not look to be a priority issue, its fair to descope it

cammellos commented 5 months ago

sorry @jo-mut , I meant to ping @jrainville , but thanks for sharing your opinion, I fully agree with you!

iurimatias commented 2 months ago

descoped for now