prehistoric-needle-99890
05/25/2023, 10:25 AMdry-elephant-14928
05/25/2023, 8:57 PMshy-sandwich-47644
05/30/2023, 3:10 PMdry-elephant-14928
05/30/2023, 4:47 PMable-gigabyte-21598
05/30/2023, 6:28 PMshy-sandwich-47644
05/30/2023, 7:22 PMable-gigabyte-21598
05/30/2023, 7:27 PMshy-sandwich-47644
05/30/2023, 7:29 PMconst at = new livekitApi.AccessToken('livekit:key', 'livekit:secret', {
identity: participantName,
metadata: JSON.stringify(metadata)
});
at.addGrant({ roomJoin: true, room: roomName });
return at.toJwt();
So before getting the token we can easily call the CreateRoom API.roomName
will always stay same for those unique urls. Even user disconnects and come back after sometime.able-gigabyte-21598
05/30/2023, 9:49 PM