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
{{ message }}
Repository navigation
getting "TypeError: undefined is not an object" when I create a videoConferenceChat #326
changed the title [-]getting "TypeError: undefined is not an object" when I create a videoConferenceChat of close one[/-][+]getting "TypeError: undefined is not an object" when I create a videoConferenceChat[/+]on Jan 9, 2025
Hey @Dun-sin could you specify what exact APIs causes this error
i'm running the react native sample file and changed a few things to integrate guest logining in to connectytube, when i click on calling i get that error.
From debugging it seems to come from this line:
this._session = ConnectyCube.videochatconference.createNewSession();
Activity
[-]getting "TypeError: undefined is not an object" when I create a videoConferenceChat of close one[/-][+]getting "TypeError: undefined is not an object" when I create a videoConferenceChat[/+]DaveLomber commentedon Jan 10, 2025
Hey @Dun-sin
could you specify what exact APIs causes this error
Dun-sin commentedon Jan 10, 2025
i'm running the react native sample file and changed a few things to integrate guest logining in to connectytube, when i click on calling i get that error.
From debugging it seems to come from this line:
this._session = ConnectyCube.videochatconference.createNewSession();
in this function:
the error also happens when the stop call button is clicked, which runs this code:
ConnectyCube.videochatconference.clearSession(this._session.id);DaveLomber commentedon Jan 13, 2025
@Dun-sin it seems you missed the logic to connect to chat after your modifications
Make sure you still have this code to connect to chat, it could be called right after you created a guest session
Dun-sin commentedon Jan 13, 2025
I thought the guest session meant I didn't need a user to be logged in?
DaveLomber commentedon Jan 13, 2025
Guest session means a session will be created with temporary guest user:
So it still provides a meaning of user, hence you need to still connect to chat
Dun-sin commentedon Jan 13, 2025
So the guest user still needs to provide a username and password
DaveLomber commentedon Jan 13, 2025
@Dun-sin password not required in this case when connect to chat, a session token should be used for password, e.g.
Dun-sin commentedon Jan 13, 2025
Thank you🔥