join()
join({properties})
Joins a meeting.
Takes the same properties object that the factory methods take. The properties argument is optional, but the meeting url must be set here if not set in a factory method.
Returns a Promise, which resolves when the join() completes. The promise resolves with a participants object that only includes information about the local participant who joined. This is the same participants object that is passed to the "joined-meeting" event.
You will often want to do some call setup or UI updating as soon as a meeting is joined. You can do that when the join() promise resolves, or by defining a "joined-meeting" event listener. The two approaches are pretty much equivalent.
For a complete list of supported properties, refer to the DailyCall properties reference documentation.