This message was deleted.
# helpdesk
s
This message was deleted.
p
at what point are you calling room.connect? are you registering the event handlers before or after the call to room.connect?
h
I register handlers before calling room.connect
Copy code
const room = new Room()
new LocalState(room)
room.connect(url, token)
p
thanks, what you'll want to do is, is to listen to
RoomEvent.Connected
instead of
SignalConnected
h
Seems to work! Thanks @polite-kilobyte-67570 So SignalConnected means only that I can start calling LocalParticipant.publishTrack, right?
p
yeah, pretty much!
h
Ok, thanks again!
🙏 1