Home > @world-wide-lab/client > Client > createParticipant
Client.createParticipant() method
Create a new participant from sractch. Use getParticipant() if you want to get an existing participant or store their id. This function will not keep track of a participant's id.
Signature:
typescript
createParticipant(participantParams?: ClientParticipantOptions): Promise<Participant>;
Parameters
Parameter | Type | Description |
---|---|---|
participantParams | (Optional) |
Promise<Participant>
A new Participant instance