You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did this work before?
It is working on my local environment when i run 'npm start' it works as expected but when I migrate the build to server/hosting it is giving me this error
Logs
[QBChat] Status.CONNECTING (Chat Protocol - BOSH
action.ts:68 Uncaught TypeError: Cannot create property 'onRemoteStreamListener' on boolean 'false'
at e.value (videoCallStore.js:82)
at ve (action.ts:65)
at e.QbInit (action.ts:46)
at new e (videoCallStore.js:16)
at Module.656 (videoCallStore.js:251)
at a ((index):1)
at t ((index):1)
at Array.r [as push] ((index):1)
at main.85737f77.chunk.js:1
value @ videoCallStore.js:82
ve @ action.ts:65
QbInit @ action.ts:46
e @ videoCallStore.js:16
656 @ videoCallStore.js:251
a @ (index):1
t @ (index):1
r @ (index):1
(anonymous) @ main.85737f77.chunk.js:1
quickblox.js:54153 [Response][1] {api_endpoint: "https://api.quickblox.com", chat_endpoint: "chat.quickblox.com", turnserver_endpoint: "turn.quickblox.com"}
quickblox.js:54153 [QBChat] RECV: <stream:features xmlns="jabber:client">…</stream:features>
quickblox.js:54153 [QBChat] SENT: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">ADEyNzA4Nzg1MS04OTMxNgBtZW50ZWVyZQ==
Code which I am using
QbInit() {
if(localStorage.getItem('userID')) {
QB.init(this.APPLICATION_ID, this.AUTH_KEY, this.AUTH_SECRET, this.ACCOUNT_KEY, this.CONFIG);
It can be because of registering domain to somewhere in QuickBlox settings but can't see this kind of step in documentation as well as in Quickblox Admin Portal.
Please help!!
The text was updated successfully, but these errors were encountered:
Hi @tarungomile ,
As the error says - you're trying to assign a function to false. This can happen if you're trying to assign some handler to webrtc module while QB JS SDK is not yet initialized or if WebRTC is not available. In such case QB.webrtc will have value false.
Environment details
Platform: React JS
SDK: Javascript SDK
(Operating system, browser information, SDK version)
OS: MacOs
Did this work before?
It is working on my local environment when i run 'npm start' it works as expected but when I migrate the build to server/hosting it is giving me this error
Logs
[QBChat] Status.CONNECTING (Chat Protocol - BOSH
action.ts:68 Uncaught TypeError: Cannot create property 'onRemoteStreamListener' on boolean 'false'
at e.value (videoCallStore.js:82)
at ve (action.ts:65)
at e.QbInit (action.ts:46)
at new e (videoCallStore.js:16)
at Module.656 (videoCallStore.js:251)
at a ((index):1)
at t ((index):1)
at Array.r [as push] ((index):1)
at main.85737f77.chunk.js:1
value @ videoCallStore.js:82
ve @ action.ts:65
QbInit @ action.ts:46
e @ videoCallStore.js:16
656 @ videoCallStore.js:251
a @ (index):1
t @ (index):1
r @ (index):1
(anonymous) @ main.85737f77.chunk.js:1
quickblox.js:54153 [Response][1] {api_endpoint: "https://api.quickblox.com", chat_endpoint: "chat.quickblox.com", turnserver_endpoint: "turn.quickblox.com"}
quickblox.js:54153 [QBChat] RECV: <stream:features xmlns="jabber:client">…</stream:features>
quickblox.js:54153 [QBChat] SENT: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">ADEyNzA4Nzg1MS04OTMxNgBtZW50ZWVyZQ==
Code which I am using
QbInit() {
if(localStorage.getItem('userID')) {
QB.init(this.APPLICATION_ID, this.AUTH_KEY, this.AUTH_SECRET, this.ACCOUNT_KEY, this.CONFIG);
It can be because of registering domain to somewhere in QuickBlox settings but can't see this kind of step in documentation as well as in Quickblox Admin Portal.
Please help!!
The text was updated successfully, but these errors were encountered: