streamdeck-googlemeet icon indicating copy to clipboard operation
streamdeck-googlemeet copied to clipboard

Mic and Camera toggles broken in recent Meet update

Open Jbossalini opened this issue 1 year ago • 36 comments

Looks like the jsname for the Mic and Camera toggle button changed in a recent ~Chrome~ Meet update. ~(I'm on 129.0.6668.59 currently)~

Anyway, I don't have time yet to create a Pull request but, new selectors are: mic_event_handler.js: return document.querySelector('div[jsname="Dg9Wp"] [jsname="hw0c9"]'); camera_event_handler.js: return document.querySelector('div[jsname="R3GXJb"] [jsname="psRWwc"]');

Jbossalini avatar Sep 23 '24 19:09 Jbossalini

Hmm, for me it's still the old jsnames. Must be Meet slowly rolling out a change. (I'm also on Chrome 129.0.6668.59.)

ChrisRegado avatar Sep 24 '24 01:09 ChrisRegado

FYI. I believe that is due to an update to Meet, not Chrome. https://workspaceupdates.googleblog.com/2024/06/updated-design-for-meeting-controls-google-meet.html

hidekuro avatar Sep 24 '24 09:09 hidekuro

I believe that is due to an update to Meet

Yes, my mistake! :face_palm:

Jbossalini avatar Sep 24 '24 13:09 Jbossalini

If anyone wants to try the sept-2024-redesign branch, I added the button IDs @Jbossalini provided, so it should work with both the old and new Meet buttons. I'm unable to test it myself though until the Meet update makes its way to my own Google account.

ChrisRegado avatar Sep 24 '24 15:09 ChrisRegado

works for me! thanks for the quick update!

Jbossalini avatar Sep 24 '24 16:09 Jbossalini

NVM: I must be misremembering

I think it worked before where I could mute/unmute even if I was on another tab (and the Meet tab wasn't the focus), and it doesn't when testing this fix. I'll re-try with removing the OR in queryselector and see if that makes a difference.

Jbossalini avatar Sep 25 '24 13:09 Jbossalini

I'm not sure if this is related but my "Toggle Chat" button is also no longer working

ccseifert avatar Sep 26 '24 16:09 ccseifert

@ccseifert Do you have the Round buttons or Square buttons? I think there is more than one update out in the wild, because I still have the Round buttons, but it was only the Mic and Camera selectors that changed for me. Chat still works.

https://workspaceupdates.googleblog.com/2024/06/updated-design-for-meeting-controls-google-meet.html

image

Can you grab the jsname for that button?

image

Jbossalini avatar Sep 26 '24 17:09 Jbossalini

@Jbossalini I have the "after" from your two screenshots. My jsname is the same as yours, "A5il2e"

ccseifert avatar Sep 26 '24 17:09 ccseifert

what about data-panel-id ? the plugin targets id 2

Jbossalini avatar Sep 26 '24 18:09 Jbossalini

data-panel-id="2"

ccseifert avatar Sep 26 '24 18:09 ccseifert

are you seeing any errors in the Extensions manager in Chrome?
chrome://extensions/

image

Jbossalini avatar Sep 26 '24 18:09 Jbossalini

Ah, I am! Here's what Im seeing:

Screenshot 2024-09-26 at 12 33 16 PM

ccseifert avatar Sep 26 '24 18:09 ccseifert

oh, yeah, that's because you are just on the landing page for Meet.

Trash the errors on that screen, and then open a full Meet and check again.

Jbossalini avatar Sep 26 '24 18:09 Jbossalini

Cleared the errors and started a new Meet. No errors until I pressed the SteamDeck button for chat which gave me this: image

ccseifert avatar Sep 26 '24 18:09 ccseifert

I finally started seeing the new layout. The jsnames for the camera and mic buttons are still the old ones for me. All buttons still work for me, even with the new styling.

I think it worked before where I could mute/unmute even if I was on another tab (and the Meet tab wasn't the focus)

It should work regardless of tab or window state, and still does for me. Do you have any of those "resource saver" / "tab suspender" extensions that pause script execution when the tab is out of focus?


@ccseifert It looks like you're running an older version of the browser extension. Please update to the latest release and try again. (That error is on line 72, but the entire file was refactored and fixed a couple months ago and is now only 20 lines long total.)

ChrisRegado avatar Sep 27 '24 02:09 ChrisRegado

@ChrisRegado who knows what Google is doing because now since yesterday I have some combination of round and square buttons ¯_(ツ)_/¯ (using the new jsnames I reported earlier)

EDIT: Oh wait, that is the new layout

image

I also get the pop-out window now for a Meet session, and the extension works with that, too, which is good to see.

It should work regardless of tab or window state

Ok, great! Thanks for confirming the behavior. I will spend some time testing with/without other extensions and see if I can narrow it down. Of course, as mentioned above, with the new pop-out window for Meet, it's not a huge issue anymore :grin:

Jbossalini avatar Sep 27 '24 14:09 Jbossalini

If anyone wants to try the sept-2024-redesign branch, I added the button IDs @Jbossalini provided, so it should work with both the old and new Meet buttons. I'm unable to test it myself though until the Meet update makes its way to my own Google account.

Works for me! Thanks.

carterlloyds avatar Oct 01 '24 17:10 carterlloyds

The sept-2024-redesign branch browser extension worked with the new Meet design.

hidekuro avatar Oct 03 '24 10:10 hidekuro

I came searching for a solution to my issues with the chrome extension, and I noticed the same issue could be replicated on windows, but on intel based mac, everything works fine. On windows, I'm using the sept-2024-redesign branch, chrome version 130.0.6723.71. On mac, it's the sept-2024-redesign branch, chrome version 129.6668.91. I'm not very knowledgeable about chrome extensions, but if there's any more info I can provide that would be helpful, please let me know!

tylernewcomb avatar Oct 30 '24 02:10 tylernewcomb

I merged in the sept-2024-redesign branch. It's included in release v1.5.1.

On my own Google account, the old extension (v1.5.0) without any of the sept-2024-redesign changes still works fine, so there must be some changes from Google that are not yet available to me. But since the branch works for several people in this thread while remaining backward compatible, it seems worth trying.

ChrisRegado avatar Oct 30 '24 19:10 ChrisRegado

@tylernewcomb I've tested v1.5.1 on both macOS and Windows, so it should work on both. (The browser extension is generally platform agnostic.) Do any of the buttons work for you on Windows (Leave Call, Toggle Chat, etc), or is it just the mic and camera buttons that are broken?

ChrisRegado avatar Oct 30 '24 19:10 ChrisRegado

@ChrisRegado the end call button, raise hand, and thumbs up all worked for me. I could not get the microphone or camera buttons to work, whether it was toggle or mute/unmute buttons.

tylernewcomb avatar Oct 30 '24 19:10 tylernewcomb

@tylernewcomb In your Chrome Extensions page, does it show you're running v1.5.1? (It should be the same version number for the sept-2024-redesign branch as well.)

extension-version

If not, I'd suggest trying to start fresh: uninstall the extension from Chrome, delete the files, and then install the latest v1.5.1 release using the normal instructions.

And if all of that fails, you may have some new variant of the Meet interface from Google that we haven't seen yet, in which case a fix will be much more complex. We'd need to find the jsname of the button as shown in https://github.com/ChrisRegado/streamdeck-googlemeet/issues/49#issuecomment-2377497573 and update the extension code.

ChrisRegado avatar Oct 30 '24 19:10 ChrisRegado

Ah yes, I was running 1.5.0 on the Windows machine. Installing 1.5.1 fixed the issue. I could have sworn it was the same version on both, but oh well. Thanks for the help, the plugin is great!

tylernewcomb avatar Oct 30 '24 20:10 tylernewcomb

Nice, this release solved my "open chat" button not working as well. Thanks!

ccseifert avatar Oct 30 '24 20:10 ccseifert

This is occurring again with v1.5.1 on Chrome Version 132.0.6834.84 64-bit Windows.

kangstarr avatar Jan 20 '25 04:01 kangstarr

Give v1.5.2 a try. Looks like Google keeps adjusting the mic and camera buttons.

ChrisRegado avatar Jan 20 '25 04:01 ChrisRegado

v1.5.2 fixed it.

On Sun, Jan 19, 2025 at 8:57 PM Chris @.***> wrote:

Give v1.5.2 https://github.com/ChrisRegado/streamdeck-googlemeet/releases/tag/v1.5.2 a try. Looks like Google keeps adjusting the mic and camera buttons.

— Reply to this email directly, view it on GitHub https://github.com/ChrisRegado/streamdeck-googlemeet/issues/49#issuecomment-2601367535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIUQXUZXIO24XDISNTO46L2LR62JAVCNFSM6AAAAABOWYPQ56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBRGM3DONJTGU . You are receiving this because you commented.Message ID: @.***>

kangstarr avatar Jan 20 '25 05:01 kangstarr

Confirming that v1.5.2 resolves current issue for me, too.

Jbossalini avatar Jan 21 '25 17:01 Jbossalini