How to improve file transfer speed in Flutter WebRTC? #1721
              
                Unanswered
              
          
                  
                    
                      azharrashe3d
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm developing a Flutter application using the flutter_webrtc plugin to establish a WebRTC connection between two devices. I've successfully configured a STUN server for NAT traversal and a signaling server to exchange connection details. The connection itself works fine, and I can send and receive audio and video streams without issues.
However, I'm facing a problem with file transfer speeds. When I try to send a file (e.g., an image or a document) over the WebRTC data channel, the transfer speed is extremely slow. I've tried sending files of different sizes, but the speed remains consistently poor.
Here's a summary of my setup:
I've already tried the following:
None of these attempts have significantly improved the file transfer speed. Could anyone provide insights or suggestions on how to speed up file transfer in Flutter WebRTC? Are there any specific configurations, optimizations, or alternative approaches I should consider? Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions