The options for prepopulating user media.
A promise that resolves to an array of JSX elements or void.
const elements = await prepopulateUserMedia({
name: "John Doe",
parameters: {
participants: [],
allVideoStreams: [],
islevel: "1",
member: "John",
shared: false,
shareScreenStarted: false,
eventType: "conference",
screenId: "screen1",
forceFullDisplay: true,
updateMainWindow: true,
mainScreenFilled: false,
adminOnMainScreen: false,
mainScreenPerson: "Jane",
videoAlreadyOn: false,
audioAlreadyOn: false,
oldAllStreams: [],
checkOrientation: () => "portrait",
screenForceFullDisplay: false,
localStreamScreen: null,
remoteScreenStream: [],
localStreamVideo: null,
mainHeightWidth: 800,
isWideScreen: true,
localUIMode: false,
whiteboardStarted: false,
whiteboardEnded: false,
virtualStream: null,
keepBackground: false,
annotateScreenStream: false,
updateMainScreenPerson: (person) => console.log(person),
updateMainScreenFilled: (filled) => console.log(filled),
updateAdminOnMainScreen: (admin) => console.log(admin),
updateMainHeightWidth: (heightWidth) => console.log(heightWidth),
updateScreenForceFullDisplay: (force) => console.log(force),
updateUpdateMainWindow: (update) => console.log(update),
updateMainGridStream: (components) => console.log(components),
},
});
Prepopulates the user media based on the provided options.