fix livekit
This commit is contained in:
@@ -11,7 +11,8 @@ const createToken = async () => {
|
||||
const roomName = "quickstart-room";
|
||||
// Identifier to be used for participant.
|
||||
// It's available as LocalParticipant.identity with livekit-client SDK
|
||||
const participantName = "quickstart-username";
|
||||
const participantName =
|
||||
"quickstart-username" + Math.random().toString(36).substring(7);
|
||||
|
||||
const at = new AccessToken(
|
||||
process.env.LIVEKIT_API_KEY,
|
||||
|
||||
Reference in New Issue
Block a user