config property
Room Config Object
allowProduce: Allow non-admin Peers in the Room to produce Media StreamsallowConsume: Allow non-admin Peers in the Room to consume Media StreamsallowSendData: Allow non-admin Peers in the Room to send data messageroomLocked: If the room is locked
Implementation
Map<String, dynamic> config = {
'roomLocked': false,
'allowProduce': true,
'allowProduceSources': {
'cam': true,
'mic': true,
'screen': true,
},
'allowConsume': true,
'allowSendData': true,
};