diff --git a/client/.yarn/install-state.gz b/client/.yarn/install-state.gz index e1d822b..5cb82cb 100644 Binary files a/client/.yarn/install-state.gz and b/client/.yarn/install-state.gz differ diff --git a/client/app/components.d.ts b/client/app/components.d.ts index 88eb6f6..134d7b9 100644 --- a/client/app/components.d.ts +++ b/client/app/components.d.ts @@ -17,7 +17,6 @@ declare module 'vue' { PrimeFloatLabel: typeof import('primevue/floatlabel')['default'] PrimeInputText: typeof import('primevue/inputtext')['default'] PrimePassword: typeof import('primevue/password')['default'] - PrimeProgressBar: typeof import('primevue/progressbar')['default'] PrimeScrollPanel: typeof import('primevue/scrollpanel')['default'] PrimeSelect: typeof import('primevue/select')['default'] PrimeSelectButton: typeof import('primevue/selectbutton')['default'] diff --git a/client/app/composables/use-mediasoup.ts b/client/app/composables/use-mediasoup.ts index 90f58c3..d11e615 100644 --- a/client/app/composables/use-mediasoup.ts +++ b/client/app/composables/use-mediasoup.ts @@ -317,7 +317,7 @@ export const useMediasoup = createSharedComposable(() => { if (!device.value) return - const stream = await getShareStream() + const stream = await getShareStream(preferences.shareFps.value) const track = stream.getVideoTracks()[0] diff --git a/client/app/composables/use-preferences.ts b/client/app/composables/use-preferences.ts index 80ff7b6..75ba3f7 100644 --- a/client/app/composables/use-preferences.ts +++ b/client/app/composables/use-preferences.ts @@ -19,6 +19,8 @@ export const usePreferences = createGlobalState(() => { const noiseSuppression = useLocalStorage('NOISE_SUPPRESSION', true) const echoCancellation = useLocalStorage('ECHO_CANCELLATION', true) + const shareFps = useLocalStorage('SHARE_FPS', 30) + const toggleInputHotkey = ref('') const toggleOutputHotkey = ref('') @@ -57,6 +59,7 @@ export const usePreferences = createGlobalState(() => { autoGainControl, noiseSuppression, echoCancellation, + shareFps, toggleInputHotkey, toggleOutputHotkey, inputDeviceExist, diff --git a/client/app/pages/preferences.vue b/client/app/pages/preferences.vue index 6713c13..d3deb0d 100644 --- a/client/app/pages/preferences.vue +++ b/client/app/pages/preferences.vue @@ -47,6 +47,18 @@ + + Video + + +
+
+ FPS + {{ shareFps }} +
+ +
+