Skip to content

Commit

Permalink
Update mic and camera IDs for new Meet redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRegado committed Sep 24, 2024
1 parent 01f8d29 commit 8efaca4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion browser-extension/event_handlers/camera_event_handler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
class CameraEventHandler extends ToggleEventHandler {

_controlElementSelector = () => {
return document.querySelector('div[jsname="R3GXJb"] [jsname="BOHaEe"]');
return document.querySelector('div[jsname="R3GXJb"] [jsname="psRWwc"]') || // after September 2024 Meet redesign
document.querySelector('div[jsname="R3GXJb"] [jsname="BOHaEe"]'); // before September 2024 Meet redesign
}

_sendMuteState = () => {
Expand Down
3 changes: 2 additions & 1 deletion browser-extension/event_handlers/mic_event_handler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
class MicEventHandler extends ToggleEventHandler {

_controlElementSelector = () => {
return document.querySelector('div[jsname="Dg9Wp"] [jsname="BOHaEe"]');
return document.querySelector('div[jsname="Dg9Wp"] [jsname="hw0c9"]') || // after September 2024 Meet redesign
document.querySelector('div[jsname="Dg9Wp"] [jsname="BOHaEe"]'); // before September 2024 Meet redesign
}

_sendMuteState = () => {
Expand Down
2 changes: 1 addition & 1 deletion browser-extension/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Stream Deck Google Meet Actions",
"version": "1.5.0",
"version": "1.5.1",
"description": "Connects to our accompanying Elgato Stream Deck plugin to create physical controls for your Google Meet calls.",
"author": "Chris Regado",
"homepage_url": "https://github.com/ChrisRegado/streamdeck-googlemeet",
Expand Down

0 comments on commit 8efaca4

Please sign in to comment.