Layout Feature Parameter - Prebuilt
layout
- type:
object
type
-
type:
String
-
layout.type
represents the type of layout which can beSPOTLIGHT
|SIDEBAR
|GRID
priority
-
type:
String
-
layout.priority
represents the priority of layout type which can beSPEAKER
|PIN
gridSize
-
type:
Number
-
layout.gridSize
represents 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