100mslive / web-sdks

Web SDKs for 100ms
https://www.100ms.live/docs/javascript/v2/quickstart/mental-model
MIT License
20 stars 26 forks source link

[Bug]: Unable to join room TypeError: 'get' on proxy: property 'publishParams' is a read-only and non-configurable #3249

Closed GauravSharma47 closed 1 week ago

GauravSharma47 commented 1 week ago

What happened?

Unable to join room TypeError: 'get' on proxy: property 'publishParams' is a read-only and non-configurable data property on the proxy target but the proxy did not return its actual value (expected '#' but got '#')

image

How can we reproduce the bug?

Install the library @100mslive/hms-video-store and onMounted of vue3 execute join method with the config. Here's the config I used :

config: { userName: 'Jon Snow', authToken: 'Taken from 100ms dashboard for host, settings: { isAudioMuted: true, isVideoMuted: false }, metaData: JSON.stringify({ city: 'Winterfell', knowledge: 'none' }), rememberDeviceSelection: true }

"node_modules/@100mslive/hms-video-store": { "version": "0.12.18", "resolved": "https://registry.npmjs.org/@100mslive/hms-video-store/-/hms-video-store-0.12.18.tgz", "integrity": "sha512-PamdqLUGeAka86LppQsO+nYDVkYOqpqw7jcXTzFTO+XcjrlMMHW4tGP3mQvS3aBmFG51vhQcGlHenhf0KrwQ4g==", "dependencies": { "eventemitter2": "^6.4.9", "immer": "^9.0.6", "lodash.isequal": "^4.5.0", "reselect": "4.0.0", "sdp-transform": "^2.14.1", "ua-parser-js": "^1.0.1", "uuid": "^8.3.2", "webrtc-adapter": "^8.0.0", "zustand": "3.5.7" }, "engines": { "node": ">=12" } },

What browsers are you seeing the problem on?

Chrome

GauravSharma47 commented 1 week ago

For anyone looking for a solution. You need to call preview first and then only you can join.