diff --git a/client/src/components/RoomInfo.vue b/client/src/components/RoomInfo.vue
index 9d582ba..3e78d87 100644
--- a/client/src/components/RoomInfo.vue
+++ b/client/src/components/RoomInfo.vue
@@ -154,6 +154,19 @@
+
+
Policies
+
+
+
+ | Homepage | {{ settings.policies.homepage }} |
+ | Extensions | {{ settings.policies.extensions }} |
+ | Developer tools | {{ settings.policies.developer_tools }} |
+ | Persistent data | {{ settings.policies.persistent_data }} |
+
+
+
+ none
diff --git a/client/src/components/RoomsCreate.vue b/client/src/components/RoomsCreate.vue
index f94e18b..be7844d 100644
--- a/client/src/components/RoomsCreate.vue
+++ b/client/src/components/RoomsCreate.vue
@@ -208,7 +208,7 @@
mdi-close
-
+
Mounts
mdi-plus
@@ -252,6 +252,59 @@
+
+
+
+
+
+ Browser policies (experimental)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -305,6 +358,7 @@ export default class RoomsCreate extends Vue {
private videoPipelineEnabled = false
private audioPipelineEnabled = false
private broadcastPipelineEnabled = false
+ private policiesEnabled = false
private loading = false
private data: RoomSettings = { ...this.$store.state.defaultRoomSettings }
@@ -407,6 +461,7 @@ export default class RoomsCreate extends Vue {
// eslint-disable-next-line
broadcast_pipeline: this.broadcastPipelineEnabled ? this.data.broadcast_pipeline : '',
envs,
+ policies: this.policiesEnabled ? this.data.policies : undefined,
})
this.Clear()
this.$emit('finished', true)
diff --git a/client/src/store/state.ts b/client/src/store/state.ts
index d10cd89..c2a1b90 100644
--- a/client/src/store/state.ts
+++ b/client/src/store/state.ts
@@ -42,6 +42,15 @@ export const state = {
envs: {},
// eslint-disable-next-line
mounts: [],
+
+ policies: {
+ homepage: "https://google.com/?hl=en",
+ extensions: [],
+ // eslint-disable-next-line
+ developer_tools: false,
+ // eslint-disable-next-line
+ persistent_data: false,
+ }
} as RoomSettings,
videoCodecs: [
"VP8",