snowymo / immersive-presentation

MIT License
4 stars 1 forks source link

[Develop] Support local development when internet is down or even remote server is not accessible #27

Open snowymo opened 3 years ago

snowymo commented 3 years ago

Is your feature request related to a problem? Please describe. I'm always frustrated when there is no internet or remote server is not accessible.

Describe the solution you'd like I want to still develop especially on graphics as a local single user.

Describe alternatives you've considered 1) no need to connect to a remote server. 2) no need to request video and audio.

snowymo commented 3 years ago

1) I check the internet at the beginning. 2) I replace all the online js files with local ones. Probably we need to update them once in a while. 3) Discard all corelink and webrtc related code when in offline mode.

https://github.com/futurerealitylab/immersive-presentation/commit/08e12e835b8aa37693fad1e46cfbc6a8db9ef8ef

keruwang commented 3 years ago

Current errors when there is no internet connection:

Screenshot 2021-07-13 at 11 07 35 PM
snowymo commented 3 years ago

@keruwang Try latest version and see if the errors are still there.