addFakeParticipant(details?)
Prebuilt
Custom
Adds a fake participant with a synthetic video stream to the local call view. The fake participant exists only on the local client — they are not an actual participant in the call and are not visible to others. This is a convenience method for building and testing your UI without needing additional real devices or browser tabs.
Parameters
number
Optional. The aspect ratio of the fake video stream. Supported values are
16/9, 3/4, and 4/3. Defaults to 16/9.Return value
Returnsthis (the DailyCall instance), allowing method chaining.