Only can connect to videosdk-web-sample via "http://localhost:3000"

Video SDK Type and Version
Video SDK Version: 1.11.10
videosdk-web-sample Version: Recent git clone

Description
Running the videosdk-web-sample things appear to work when I access the site with localhost in the url. However, if I try to access it with 192.168.1.1 the site generates a runtime error.

Error

Uncaught runtime errors:
ERROR
right-hand side of ‘in’ should be an object, got undefined
get isSupportSendScreenSharing@[snip]/static/js/bundle.js:30541:35
NR@[snip]/static/js/bundle.js:49200:9
checkSystemRequirements@[snip]/static/js/bundle.js:61386:14
value@[snip]/static/js/bundle.js:62772:37
init@[snip]/static/js/bundle.js:3789:22
./src/App.tsx/App/<@http://[snip]/static/js/bundle.js:3811:5
commitHookEffectListMount@[snip]/static/js/bundle.js:182422:30
commitPassiveMountOnFiber@[snip]/static/js/bundle.js:183915:42
commitPassiveMountEffects_complete@[snip]/static/js/bundle.js:183887:38
commitPassiveMountEffects_begin@[snip]/static/js/bundle.js:183877:45
commitPassiveMountEffects@[snip]/static/js/bundle.js:183867:38
flushPassiveEffectsImpl@[snip]/static/js/bundle.js:185750:32
flushPassiveEffects@[snip]/static/js/bundle.js:185703:18
./node_modules/react-dom/cjs/react-dom.development.js/commitRootImpl/<@http://[snip]/static/js/bundle.js:185518:13
workLoop@[snip]/static/js/bundle.js:196590:46
flushWork@[snip]/static/js/bundle.js:196568:18
performWorkUntilDeadline@[snip]/static/js/bundle.js:196805:25

That error repeats 2 more times.

How To Reproduce
Steps to reproduce the behavior including:

  • The steps in the sample README.md were followed.

I had to alter all urls as the forum would not let me include them.

Hey @john15

Thanks for your feedback.

In order to use audio/video on web, a secure context is required.

If you need to access it via IP address, please make sure it uses the HTTPS protocol. You can generate a self-signed certificate if it’s just for testing purposes.

Thanks
Vic

Thanks for that information!