mattermost-plugin-jitsi icon indicating copy to clipboard operation
mattermost-plugin-jitsi copied to clipboard

Screen sharing not working with the Desktop App

Open iwyz0 opened this issue 3 years ago • 7 comments

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

iwyz0 avatar Jul 04 '22 14:07 iwyz0

@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!

devinbinnie avatar Jul 05 '22 13:07 devinbinnie

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___TAB_MESSAG...] Loading https://sitename/ [2022-07-04 17:16:10.125] [warn] couldn't show test___TAB_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___TAB_FOCALBOARD on hasFocalboard [2022-07-04 17:16:10.533] [info] BrowserView created for server test___TAB_FOCALBOARD [2022-07-04 17:16:10.534] [info] [test___TAB_FOCALB...] 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] [test___TAB_MESSAG...] finished loading https://sitename/ [2022-07-04 17:16:11.143] [info] [test___TAB_FOCALB...] 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] test___TAB_MESSAGING timeout expired will show the browserview [2022-07-04 17:16:15.150] [info] test___TAB_FOCALBOARD timeout expired will show the browserview [2022-07-04 17:17:20.736] [info] [test___TAB_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___TAB_FOCALB...] 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 test___TAB_MESSAGING [2022-07-04 17:43:02.272] [info] [test___TAB_MESSAG...] Loading https://sitename/ [2022-07-04 17:43:02.274] [info] BrowserView created for server test___TAB_FOCALBOARD [2022-07-04 17:43:02.275] [info] [test___TAB_FOCALB...] Loading https://sitename/boards [2022-07-04 17:43:02.283] [warn] couldn't show test___TAB_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 maximized_change, will retry [2022-07-04 17:43:03.037] [info] opening test___TAB_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___TAB_FOCALB...] finished loading https://sitename/boards [2022-07-04 17:43:03.332] [info] opening test___TAB_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___TAB_MESSAGING [2022-07-05 17:43:20.315] [info] [test___TAB_MESSAG...] Loading https://sitename/ [2022-07-05 17:43:20.317] [info] BrowserView created for server test___TAB_FOCALBOARD [2022-07-05 17:43:20.318] [info] [test___TAB_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 maximized_change, will retry [2022-07-05 17:43:21.018] [info] opening test___TAB_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___TAB_MESSAG...] finished loading https://sitename/ [2022-07-05 17:43:21.205] [info] [test___TAB_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___TAB_MESSAGING [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: 'test___TAB_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 }

iwyz0 avatar Jul 05 '22 14:07 iwyz0

@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.

devinbinnie avatar Jul 05 '22 14:07 devinbinnie

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.

iwyz0 avatar Jul 05 '22 15:07 iwyz0

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

devinbinnie avatar Jul 05 '22 15:07 devinbinnie

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.

dreyTee avatar Mar 13 '23 12:03 dreyTee

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.

zerolabnet avatar Nov 30 '23 07:11 zerolabnet