UmichSIM / Wizard

Repository for Wizard of Oz Project
0 stars 0 forks source link

Image sending too slow #10

Open TomCC7 opened 2 years ago

TomCC7 commented 2 years ago

According to this issue, the image data is sent without compression, which is very expensive when it comes to remote connection :disappointed: . I tested that the bandwidth using Wi-Fi is about 21MBps while an 1920x1080 rgba image will cost 8MB, which causes an unusable 3FPS... image

TomCC7 commented 2 years ago

2 possible ways to fix this:

  1. Using the second server to take encoding work, retrieve data and decode it to image manually on the clients.
  2. PR/Issue to the Carla repo to add support for this, there's already someone who implemented a jpeg compression feature but for some reason it was never merged. Perhaps we can try to do this. It is indeed harder but certainly a better way to solve the issue.