Skip to content

Commit 1bbba15

Browse files
author
BJ Zamites
committed
change config
1 parent c46ce26 commit 1bbba15

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

scripts.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ var config = {
55
sessionName: 'test',
66
userName: 'JavaScript',
77
sessionPasscode: '123',
8-
features: ['preview', 'video', 'audio', 'settings', 'users', 'chat', 'share'],
9-
options: { init: {}, audio: {}, video: {}, share: {}},
10-
virtualBackground: {
11-
allowVirtualBackground: true,
12-
allowVirtualBackgroundUpload: true,
13-
virtualBackgrounds: ['https://images.unsplash.com/photo-1715490187538-30a365fa05bd?q=80&w=1945&auto=format&fit=crop']
14-
}
8+
featuresOptions: {
9+
virtualBackground: {
10+
enable: true,
11+
virtualBackgrounds: [
12+
{
13+
url: 'https://images.unsplash.com/photo-1715490187538-30a365fa05bd?q=80&w=1945&auto=format&fit=crop'
14+
},
15+
],
16+
},
17+
},
1518
};
1619
var role = 1
1720

0 commit comments

Comments
 (0)