mattermost-community / mattermost-plugin-jitsi

Jitsi plugin for Mattermost :electric_plug:
Apache License 2.0
191 stars 89 forks source link

Screen sharing not working with the Desktop App #218

Open iwyz0 opened 2 years ago

iwyz0 commented 2 years ago

Hello, OS= windows 11, Macbook intel, Macbook m1 When I want to a call with jitsi, the application does not open. redirects to the browser. Can you help me? Mattermost app version: 5.1.1

devinbinnie commented 2 years ago

@iwyz0 Can you turn on Debug logging in the Settings window and post your log file? Sounds like there's an issue redirecting to the Jitsi plugin correctly. Thanks!

iwyz0 commented 2 years ago

Hello @devinbinnie Thanks for your answer. it seems to be opened now, but it gets stuck like this in screen sharing.

image

[2022-07-04 17:15:49.173] [warn] Failed to load configuration file from the filesystem. Using defaults. [2022-07-04 17:15:49.190] [info] Migrating config items successfully. [2022-07-04 17:15:49.222] [info] Log level set to: undefined [2022-07-04 17:15:49.223] [debug] Utils.handleUpdateMenuEvent [2022-07-04 17:15:49.397] [info] Autoupgrade disabled: true [2022-07-04 17:15:49.432] [debug] WindowManager.showMainWindow undefined [2022-07-04 17:15:49.475] [debug] App.handleAppBrowserWindowCreated [2022-07-04 17:15:49.476] [debug] Utils.resizeScreen.handle [2022-07-04 17:15:49.566] [debug] Utils.handleUpdateMenuEvent [2022-07-04 17:15:49.760] [debug] App.Config.handleConfigUpdate [2022-07-04 17:15:49.761] [silly] App.Config.handleConfigUpdate { version: 3, teams: [], showTrayIcon: true, trayIconTheme: 'use_system', minimizeToTray: true, notifications: { flashWindow: 2, bounceIcon: true, bounceIconType: 'informational' }, showUnreadBadge: true, useSpellChecker: true, enableHardwareAcceleration: true, autostart: true, hideOnStart: false, spellCheckerLocales: [], darkMode: false, lastActiveTeam: 0, downloadLocation: 'C:\Users\husey\Downloads', startInFullscreen: false, helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html', enableServerManagement: true, enableAutoUpdater: true, managedResources: [ 'trusted' ], useNativeWindow: false, registryTeams: [], appName: 'Mattermost' } [2022-07-04 17:15:49.762] [info] Can't send reload-config, will retry [2022-07-04 17:15:49.762] [silly] Badge.showBadge { sessionExpired: false, mentionCount: 0, showUnreadBadge: false } [2022-07-04 17:15:49.794] [info] Log level set to: undefined [2022-07-04 17:15:49.794] [debug] Utils.handleUpdateMenuEvent [2022-07-04 17:15:49.797] [silly] TeamDropdownView.config { config: { version: 3, teams: [], showTrayIcon: true, trayIconTheme: 'use_system', minimizeToTray: true, notifications: { flashWindow: 2, bounceIcon: true, bounceIconType: 'informational' }, showUnreadBadge: true, useSpellChecker: true, enableHardwareAcceleration: true, autostart: true, hideOnStart: false, spellCheckerLocales: [], darkMode: false, lastActiveTeam: 0, downloadLocation: 'C:\Users\husey\Downloads', startInFullscreen: false, helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html', enableServerManagement: true, enableAutoUpdater: true, managedResources: [ 'trusted' ], useNativeWindow: false, registryTeams: [], appName: 'Mattermost' } } [2022-07-04 17:15:49.798] [silly] TeamDropdownView.updateDropdown [2022-07-04 17:15:49.805] [info] config.autostart has been configured: true [2022-07-04 17:15:49.913] [info] config.autostart has been configured: true [2022-07-04 17:15:49.954] [verbose] Config.loadRegistry { registryData: { teams: [] } } [2022-07-04 17:15:49.958] [debug] App.Config.handleConfigUpdate [2022-07-04 17:15:49.959] [silly] App.Config.handleConfigUpdate { version: 3, teams: [], showTrayIcon: true, trayIconTheme: 'use_system', minimizeToTray: true, notifications: { flashWindow: 2, bounceIcon: true, bounceIconType: 'informational' }, showUnreadBadge: true, useSpellChecker: true, enableHardwareAcceleration: true, autostart: true, hideOnStart: false, spellCheckerLocales: [], darkMode: false, lastActiveTeam: 0, downloadLocation: 'C:\Users\husey\Downloads', startInFullscreen: false, autoCheckForUpdates: true, logLevel: 'info', helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html', enableServerManagement: true, enableAutoUpdater: true, managedResources: [ 'trusted' ], useNativeWindow: false, registryTeams: [], appName: 'Mattermost' } [2022-07-04 17:15:49.962] [info] Can't send reload-config, will retry [2022-07-04 17:15:49.964] [silly] Badge.showBadge { sessionExpired: false, mentionCount: 0, showUnreadBadge: false } [2022-07-04 17:15:50.004] [info] Log level set to: info [2022-07-04 17:15:50.011] [info] Can't send reload-config, will retry [2022-07-04 17:15:50.027] [info] Log level set to: info [2022-07-04 17:15:50.033] [info] config.autostart has been configured: true [2022-07-04 17:15:50.051] [info] config.autostart has been configured: true [2022-07-04 17:15:50.210] [info] preloading with C:\Users\husey\AppData\Local\Programs\mattermost-desktop\resources\app.asar\modalPreload.js [2022-07-04 17:15:50.216] [info] Can't send modal-open, will retry [2022-07-04 17:16:10.107] [info] BrowserView created for server test_TAB_MESSAGING [2022-07-04 17:16:10.111] [info] [test_TABMESSAG...] Loading https://sitename/ [2022-07-04 17:16:10.125] [warn] couldn't show testTAB_MESSAGING, not ready [2022-07-04 17:16:10.156] [info] Log level set to: info [2022-07-04 17:16:10.186] [info] config.autostart has been configured: true [2022-07-04 17:16:10.530] [info] opening test_TABFOCALBOARD on hasFocalboard [2022-07-04 17:16:10.533] [info] BrowserView created for server testTAB_FOCALBOARD [2022-07-04 17:16:10.534] [info] [test_TABFOCALB...] Loading https://sitename/boards [2022-07-04 17:16:10.562] [info] Log level set to: info [2022-07-04 17:16:10.581] [info] config.autostart has been configured: true [2022-07-04 17:16:11.131] [info] [testTAB_MESSAG...] finished loading https://sitename/ [2022-07-04 17:16:11.143] [info] [test_TABFOCALB...] finished loading https://sitename/boards [2022-07-04 17:16:14.905] [info] hide back button [2022-07-04 17:16:14.986] [info] hide back button [2022-07-04 17:16:15.149] [info] testTAB_MESSAGING timeout expired will show the browserview [2022-07-04 17:16:15.150] [info] test_TABFOCALBOARD timeout expired will show the browserview [2022-07-04 17:17:20.736] [info] [testTAB_FOCALB...] Loading https://sitename/boards [2022-07-04 17:17:20.846] [info] hide back button [2022-07-04 17:17:20.967] [info] [test_TABFOCALB...] finished loading https://sitename/boards [2022-07-04 17:25:40.714] [info] Log level set to: info [2022-07-04 17:25:40.760] [info] config.autostart has been configured: true [2022-07-04 17:25:52.040] [warn] main window closed [2022-07-04 17:43:02.123] [info] Log level set to: info [2022-07-04 17:43:02.269] [info] BrowserView created for server testTAB_MESSAGING [2022-07-04 17:43:02.272] [info] [test_TABMESSAG...] Loading https://sitename/ [2022-07-04 17:43:02.274] [info] BrowserView created for server testTAB_FOCALBOARD [2022-07-04 17:43:02.275] [info] [test_TABFOCALB...] Loading https://sitename/boards [2022-07-04 17:43:02.283] [warn] couldn't show testTAB_MESSAGING, not ready [2022-07-04 17:43:02.390] [info] config.autostart has been configured: true [2022-07-04 17:43:02.490] [info] Can't send reload-config, will retry [2022-07-04 17:43:02.519] [info] Log level set to: info [2022-07-04 17:43:02.535] [info] config.autostart has been configured: true [2022-07-04 17:43:02.825] [info] Can't send maximizedchange, will retry [2022-07-04 17:43:03.037] [info] opening testTAB_FOCALBOARD on hasFocalboard [2022-07-04 17:43:03.074] [info] Log level set to: info [2022-07-04 17:43:03.102] [info] config.autostart has been configured: true [2022-07-04 17:43:03.248] [info] [test_TAB_MESSAG...] finished loading https://sitename/ [2022-07-04 17:43:03.264] [info] [test_TABFOCALB...] finished loading https://sitename/boards [2022-07-04 17:43:03.332] [info] opening testTAB_FOCALBOARD on hasFocalboard [2022-07-04 17:43:03.366] [info] Log level set to: info [2022-07-04 17:43:03.388] [info] config.autostart has been configured: true [2022-07-04 17:43:07.216] [info] Checking for update [2022-07-04 17:43:07.221] [info] Generated new staging user ID: c1f7a035-7788-5f48-8cce-302c89dcfad3 [2022-07-04 17:43:07.953] [info] Update for version 5.1.1 is not available (latest version: 5.1.1, downgrade is disallowed). [2022-07-05 17:43:20.153] [info] Log level set to: info [2022-07-05 17:43:20.311] [info] BrowserView created for server test_TABMESSAGING [2022-07-05 17:43:20.315] [info] [testTAB_MESSAG...] Loading https://sitename/ [2022-07-05 17:43:20.317] [info] BrowserView created for server test_TABFOCALBOARD [2022-07-05 17:43:20.318] [info] [testTAB_FOCALB...] Loading https://sitename/boards [2022-07-05 17:43:20.323] [warn] couldn't show test___TAB_MESSAGING, not ready [2022-07-05 17:43:20.511] [info] config.autostart has been configured: true [2022-07-05 17:43:20.541] [info] Can't send reload-config, will retry [2022-07-05 17:43:20.565] [info] Log level set to: info [2022-07-05 17:43:20.580] [info] config.autostart has been configured: true [2022-07-05 17:43:20.838] [info] Can't send maximizedchange, will retry [2022-07-05 17:43:21.018] [info] opening testTAB_FOCALBOARD on hasFocalboard [2022-07-05 17:43:21.049] [info] Log level set to: info [2022-07-05 17:43:21.076] [info] config.autostart has been configured: true [2022-07-05 17:43:21.187] [info] [test_TABMESSAG...] finished loading https://sitename/ [2022-07-05 17:43:21.205] [info] [testTAB_FOCALB...] finished loading https://sitename/boards [2022-07-05 17:43:21.259] [info] opening test_TAB_FOCALBOARD on hasFocalboard [2022-07-05 17:43:21.288] [info] Log level set to: info [2022-07-05 17:43:21.311] [info] config.autostart has been configured: true [2022-07-05 17:43:25.268] [info] Checking for update [2022-07-05 17:43:25.670] [info] Update for version 5.1.1 is not available (latest version: 5.1.1, downgrade is disallowed). [2022-07-05 17:43:42.281] [info] Log level set to: verbose [2022-07-05 17:43:42.301] [info] config.autostart has been configured: true [2022-07-05 17:43:46.911] [info] Checking for update [2022-07-05 17:43:47.079] [info] Update for version 5.1.1 is not available (latest version: 5.1.1, downgrade is disallowed). [2022-07-05 17:44:03.534] [info] Log level set to: debug [2022-07-05 17:44:03.534] [debug] Utils.handleUpdateMenuEvent [2022-07-05 17:44:03.537] [debug] Config.handleGetConfiguration undefined [2022-07-05 17:44:03.538] [debug] Config.handleGetLocalConfiguration undefined [2022-07-05 17:44:03.566] [info] config.autostart has been configured: true [2022-07-05 17:44:03.633] [debug] ServerInfo.trySendRemoteInfo test { name: 'test', hasFocalboard: true, hasPlaybooks: false } [2022-07-05 17:44:03.637] [debug] ServerInfo.trySendRemoteInfo test { name: 'test', hasFocalboard: true, hasPlaybooks: false, serverVersion: '7.0.1' } [2022-07-05 17:44:08.632] [debug] WindowManager.focusBrowserView [2022-07-05 17:44:09.889] [debug] webContentEvents.did-start-navigation { webContentsId: 3, url: 'https://sitename/RealBonobosTasteMightily?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJoYWphbnNuZXQiLCJpc3MiOiJoYWphbnNuZXQiLCJzdWIiOiJqaXRzaS5oYWphbnMubmV0IiwiZXhwIjoxNjU2OTQ2NDA0LCJjb250ZXh0Ijp7InVzZXIiOnsiYXZhdGFyIjoiaHR0cHM6Ly9jaGF0LmhhamFucy5uZXQvYXBpL3Y0L3VzZXJzL2F6NDVodWJlemJkYjdycWZtM25ncXd3N3NoL2ltYWdlP189MCIsIm5hbWUiOiJhZG1pbiIsImVtYWlsIjoidGVybWl0cmFsQGdtYWlsLmNvbSIsImlkIjoiYXo0NWh1YmV6YmRiN3JxZm0zbmdxd3c3c2gifSwiZ3JvdXAiOiIifSwicm9vbSI6IlJlYWxCb25vYm9zVGFzdGVNaWdodGlseSJ9.vs3AIZnL7X7VR0T4AFDkLpagf2TF-rZDjGwX0fd7Wpo#jitsi_meet_external_api_id=0&appData.localStorageContent=null' } [2022-07-05 17:44:09.894] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:18.503] [debug] WindowManager.handleResizeMainWindow [2022-07-05 17:44:18.504] [debug] ModalManager.handleResizeModal { x: -25600, y: -25600, width: 0, height: 0 } [2022-07-05 17:44:18.511] [debug] Utils.flushCookiesStore [2022-07-05 17:44:19.006] [debug] Utils.flushCookiesStore [2022-07-05 17:44:19.010] [debug] WindowManager.handleResizeMainWindow [2022-07-05 17:44:19.011] [debug] ModalManager.handleResizeModal { x: 0, y: 0, width: 1536, height: 816 } [2022-07-05 17:44:19.027] [debug] WindowManager.focusBrowserView [2022-07-05 17:44:21.808] [debug] Initialize.UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false } [2022-07-05 17:44:29.686] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:34.109] [debug] webContentEvents.did-start-navigation { webContentsId: 3, url: 'https://sitename/RealBonobosTasteMightily?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJoYWphbnNuZXQiLCJpc3MiOiJoYWphbnNuZXQiLCJzdWIiOiJqaXRzaS5oYWphbnMubmV0IiwiZXhwIjoxNjU2OTQ2NDA0LCJjb250ZXh0Ijp7InVzZXIiOnsiYXZhdGFyIjoiaHR0cHM6Ly9jaGF0LmhhamFucy5uZXQvYXBpL3Y0L3VzZXJzL2F6NDVodWJlemJkYjdycWZtM25ncXd3N3NoL2ltYWdlP189MCIsIm5hbWUiOiJhZG1pbiIsImVtYWlsIjoidGVybWl0cmFsQGdtYWlsLmNvbSIsImlkIjoiYXo0NWh1YmV6YmRiN3JxZm0zbmdxd3c3c2gifSwiZ3JvdXAiOiIifSwicm9vbSI6IlJlYWxCb25vYm9zVGFzdGVNaWdodGlseSJ9.vs3AIZnL7X7VR0T4AFDkLpagf2TF-rZDjGwX0fd7Wpo#jitsi_meet_external_api_id=1&appData.localStorageContent=null' } [2022-07-05 17:44:34.113] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:38.019] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:38.849] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:39.269] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:41.455] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:41.456] [debug] WwindowManager.handleBrowserHistoryPush { viewName: 'test_TAB_MESSAGING', pathName: '/dpgenel/messages/@feedbackbot' } [2022-07-05 17:44:41.457] [debug] EindowManager.handleBrowserHistoryButton test_TABMESSAGING [2022-07-05 17:44:41.459] [debug] webContentEvents.did-start-navigation { webContentsId: 3, url: 'https://sitename/dpgenel/messages/@feedbackbot' } [2022-07-05 17:44:41.496] [debug] MattermostView.handleTitleUpdate { tabName: 'testTAB_MESSAGING', title: 'feedbackbot - Dijital P.GENEL sitename Chat' } [2022-07-05 17:44:43.685] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:45.281] [debug] Utils.flushCookiesStore [2022-07-05 17:44:46.551] [debug] WindowManager.focusBrowserView [2022-07-05 17:44:49.437] [debug] webContentEvents.did-start-navigation { webContentsId: 3, url: 'https://sitename/FierceWormsPlayAlways?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJoYWphbnNuZXQiLCJpc3MiOiJoYWphbnNuZXQiLCJzdWIiOiJqaXRzaS5oYWphbnMubmV0IiwiZXhwIjoxNjU3MDM0MDgzLCJjb250ZXh0Ijp7InVzZXIiOnsiYXZhdGFyIjoiaHR0cHM6Ly9jaGF0LmhhamFucy5uZXQvYXBpL3Y0L3VzZXJzL2F6NDVodWJlemJkYjdycWZtM25ncXd3N3NoL2ltYWdlP189MCIsIm5hbWUiOiJhZG1pbiIsImVtYWlsIjoidGVybWl0cmFsQGdtYWlsLmNvbSIsImlkIjoiYXo0NWh1YmV6YmRiN3JxZm0zbmdxd3c3c2gifSwiZ3JvdXAiOiIifSwicm9vbSI6IkZpZXJjZVdvcm1zUGxheUFsd2F5cyJ9.eRr9A3nGGho-L2GCll-oSYaIgZpKrJx0oD2lJJ_F5Xo#jitsi_meet_external_api_id=2&appData.localStorageContent=null' } [2022-07-05 17:44:49.442] [debug] TeamDropdownView.handleClose [2022-07-05 17:44:57.625] [debug] TeamDropdownView.handleClose [2022-07-05 17:45:10.903] [debug] Utils.flushCookiesStore [2022-07-05 17:45:14.012] [debug] WindowManager.focusBrowserView [2022-07-05 17:45:15.861] [debug] Utils.flushCookiesStore [2022-07-05 17:45:22.333] [debug] Initialize.UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false } [2022-07-05 17:46:16.489] [debug] WindowManager.focusBrowserView [2022-07-05 17:46:22.912] [debug] Initialize.UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false } [2022-07-05 17:46:32.287] [debug] Intercom.handleOpenAppMenu [2022-07-05 17:46:32.295] [debug] WindowManager.focusBrowserView [2022-07-05 17:46:32.295] [debug] TeamDropdownView.handleClose [2022-07-05 17:46:32.296] [debug] TeamDropdownView.handleClose [2022-07-05 17:46:51.970] [debug] WindowManager.focusBrowserView [2022-07-05 17:46:51.975] [debug] WindowManager.showSettingsWindow [2022-07-05 17:46:51.981] [debug] App.handleAppBrowserWindowCreated [2022-07-05 17:46:51.981] [debug] Utils.resizeScreen.handle [2022-07-05 17:46:52.001] [debug] Utils.flushCookiesStore [2022-07-05 17:46:52.134] [debug] Config.handleGetLocalConfiguration undefined [2022-07-05 17:46:57.920] [debug] Utils.flushCookiesStore [2022-07-05 17:47:23.531] [debug] Initialize.UserActivityMonitor.on(status) { userIsActive: true, idleTime: 0, isSystemEvent: false }

devinbinnie commented 2 years ago

@iwyz0 This might be something that has to be fixed in the Jitsi plugin, since the plugins don't have direct access to screen share resources in the Desktop App.

Can you confirm that the screen sharing is the only issue going forward? If so, I can send this over to the Jitsi plugin repo.

iwyz0 commented 2 years ago

Hello @devinbinnie

i see 2 problems Screen recording doesn't work Screen share doesn't work

Can you send it if you don't mind? to the jitsi repo

Thank you.

devinbinnie commented 2 years ago

This will need some work to mimic what Calls currently does for screen share. Happy to help out whoever plans to work on this :)

dreyTee commented 1 year ago

Same loading image for me on Linux and Macos up-to-date desktop clients. No asking of permissions, silently spins indicator only. Working good in Chrome and bad in Safari.

zerolabnet commented 7 months ago

Same problem. Will you be looking for a solution? The plugin is not fully functional, is the author interested in it at all? If not, archive the repository.