Currently, the sendImage, sendVideo, sendFile, and similar methods in the Matrix Rust SDK only report progress as 0% or 100% when uploading media to timelines. This makes it difficult to provide real-time, chunk-based progress updates to users.
Suggested Changes:
Add an optional ProgressWatcher parameter to the send* methods.
Emit periodic progress updates during the upload (e.g., every few KB or every 250ms).
Ensure backward compatibility by making the progress parameter optional.
This would enable smoother user experience with accurate upload progress while keeping existing functionality intact.