Layout Feature Parameter - Prebuilt
layout
- type:
object
type
-
type:
String -
layout.typerepresents the type of layout which can beSPOTLIGHT|SIDEBAR|GRID
priority
-
type:
String -
layout.priorityrepresents the priority of layout type which can beSPEAKER|PIN
gridSize
-
type:
Number -
layout.gridSizerepresents the maximum participants to be shown on the meeting screen. Max value should be25
meeting.init({
//other params
layout: {
type: "SPOTLIGHT", // "SPOTLIGHT" | "SIDEBAR" | "GRID"
priority: "SPEAKER", // "SPEAKER" | "PIN",
gridSize: 3,
},
//other params
});
Got a Question? Ask us on discord

