dognotdog / ptpwebcam

Mac DSLR webcam plugin for using DSLRs for video conferencing and streaming.
https://ptpwebcam.org
GNU General Public License v3.0
181 stars 19 forks source link

Chrome Browser - Google Meet #14

Open gitmyway opened 3 years ago

gitmyway commented 3 years ago

alpha7 build : I could get this working on Firefox Browser and Zoom but not Chrome. In Google Meet it doesn’t show up.

Maybe I am missing something ? Any settings to tinker with ? Did the usual allow camera settings in chrome. My regular usb webcam does show up .

dognotdog commented 3 years ago

@gitmyway I just tried this with Chrome 74.0.3729.169 on macOS 10.14, and it worked, but 84.0.4147.89 did no longer work as it is signed with more restrictive entitlements.

Removing Chrome's codesigning via executing the following in the terminal makes it see PTP Webcam:

killall -SIGKILL Chrome
codesign --remove-signature /Applications/Google\ Chrome.app/
codesign --remove-signature /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Helpers/Google\ Chrome\ Helper.app
codesign --remove-signature /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Helpers/Google\ Chrome\ Helper\ \(GPU\).app/
codesign --remove-signature /Applications/Google\ Chrome.app/Contents/Frameworks/Google\ Chrome\ Framework.framework/Helpers/Google\ Chrome\ Helper\ \(Plugin\).app/
dognotdog commented 3 years ago

Curiously, this seems to work only spuriously up to 1.0.0-beta3. I have just gone back and tried with all the releases back to -alpha8 and only that worked once, but not at other times.

Could this be a timing issue? The plugin takes a few seconds to advertise the video stream while it queries the camera, once the DAL plugin is loaded.

EDIT: the control menu shows up, but the camera is not selectable in eg. Google Meet's settings.

dognotdog commented 3 years ago

v1.1.0-rc1 should improve behavior in Chrome.

dognotdog commented 3 years ago

It seems like at least on macOS 10.14, Chrome will not detect the camera if it has been connected before starting Chrome, but starting Chrome first, then connecting the camera seems to work reliably.

wbrickner commented 2 years ago

I'd like to reenable chrome codesignature after uninstallation (didn't work out for me), is this possible or do I need to do a clean install of chrome?

dognotdog commented 2 years ago

Yep, you need to reinstall Chrome. Unfortunately it hasn't been working on the latest Chrome releases under Big Sur :(

On Aug 23, 2021, at 20:40, Will Brickner @.***> wrote:

I'd like to reenable chrome codesignature after uninstallation (didn't work out for me), is this possible or do I need to do a clean install of chrome?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.