RBVI / LookSee

LookSee molecular viewer for Quest VR headsets
2 stars 0 forks source link

Cannot join meeting after non-host opens a model #1

Closed tomgoddard closed 11 months ago

tomgoddard commented 11 months ago

With LookSee version 8 after starting a two person meeting, the non-host opens a model, then the non-host leaves the meeting, then tries to join again, the join fails.

Debugging with "adb logcat" shows this is because the host has the open model from the original meeting but does not have the file for that model. So when any participant tries to join after that the host tries to send the gltf data for that model but gets an uncaught error trying to open the non-existent file for that model, and that error closes the connection to the participant trying to join.

tomgoddard commented 11 months ago

Fixed.

Made the code remember the GLTF data for models transferred in a meeting. And also made the meeting code not attempt to send a model for which it does not have the data.