Make layout configurable in client, fixes #227
parent
a64830a06a
commit
2ece8e9975
|
|
@ -42,17 +42,18 @@ var config =
|
||||||
{
|
{
|
||||||
tcp : true
|
tcp : true
|
||||||
},
|
},
|
||||||
lastN : 4,
|
defaultLayout : 'democratic', // democratic, filmstrip
|
||||||
mobileLastN : 1,
|
lastN : 4,
|
||||||
|
mobileLastN : 1,
|
||||||
// Highest number of speakers user can select
|
// Highest number of speakers user can select
|
||||||
maxLastN : 5,
|
maxLastN : 5,
|
||||||
// If truthy, users can NOT change number of speakers visible
|
// If truthy, users can NOT change number of speakers visible
|
||||||
lockLastN : false,
|
lockLastN : false,
|
||||||
background : 'images/background.jpg',
|
background : 'images/background.jpg',
|
||||||
// Add file and uncomment for adding logo to appbar
|
// Add file and uncomment for adding logo to appbar
|
||||||
// logo : 'images/logo.svg',
|
// logo : 'images/logo.svg',
|
||||||
title : 'Multiparty meeting',
|
title : 'Multiparty meeting',
|
||||||
theme :
|
theme :
|
||||||
{
|
{
|
||||||
palette :
|
palette :
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,22 @@
|
||||||
const initialState =
|
const initialState =
|
||||||
{
|
{
|
||||||
name : '',
|
name : '',
|
||||||
state : 'new', // new/connecting/connected/disconnected/closed,
|
// new/connecting/connected/disconnected/closed,
|
||||||
|
state : 'new',
|
||||||
locked : false,
|
locked : false,
|
||||||
inLobby : false,
|
inLobby : false,
|
||||||
signInRequired : false,
|
signInRequired : false,
|
||||||
accessCode : '', // access code to the room if locked and joinByAccessCode == true
|
// access code to the room if locked and joinByAccessCode == true
|
||||||
joinByAccessCode : true, // if true: accessCode is a possibility to open the room
|
accessCode : '',
|
||||||
|
// if true: accessCode is a possibility to open the room
|
||||||
|
joinByAccessCode : true,
|
||||||
activeSpeakerId : null,
|
activeSpeakerId : null,
|
||||||
torrentSupport : false,
|
torrentSupport : false,
|
||||||
showSettings : false,
|
showSettings : false,
|
||||||
fullScreenConsumer : null, // ConsumerID
|
fullScreenConsumer : null, // ConsumerID
|
||||||
windowConsumer : null, // ConsumerID
|
windowConsumer : null, // ConsumerID
|
||||||
toolbarsVisible : true,
|
toolbarsVisible : true,
|
||||||
mode : 'democratic',
|
mode : window.config.defaultLayout || 'democratic',
|
||||||
selectedPeerId : null,
|
selectedPeerId : null,
|
||||||
spotlights : [],
|
spotlights : [],
|
||||||
settingsOpen : false,
|
settingsOpen : false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue