-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add method to populate an offline room with simulated participants (#531
) * add experimental method to simulate participants in a room without connection * register events on local participant * fix imports * also publish local audio * set local name * cleanup * remove log * rename * changeset
- Loading branch information
Showing
4 changed files
with
180 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'livekit-client': patch | ||
--- | ||
|
||
Add util function to simulate participants within a room |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export type SimulationOptions = { | ||
publish?: { | ||
audio?: boolean; | ||
video?: boolean; | ||
}; | ||
participants?: { | ||
count?: number; | ||
aspectRatios?: Array<number>; | ||
audio?: boolean; | ||
video?: boolean; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters