I'm not a Go dev, and I've been battling my way th...
# helpdesk
b
I'm not a Go dev, and I've been battling my way through this in my go participant implementation, so I've decided to ask. From the
OnParticipantConnected
callback, how would one get the room instance & be able to load the
room.LocalParticipant
? I'm having a hard time wrapping my head around it. Any code example would be really wonderful. 🙂
To provide a bit more context, I'm joining the room by calling
lksdk.ConnectToRoomWithToken(host, token, roomCB)
For info :
Copy code
roomCB := &lksdk.RoomCallback{
		OnParticipantConnected: handleOnParticipantConnected,
	}