dognotdog / ptpwebcam

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

Whatsapp Desktop MacOS Support #79

Open harishvishwakarma opened 3 years ago

harishvishwakarma commented 3 years ago

WhatsApp recently rolled out Audio and Video call support on their Desktop (MacOS) App.

EOS600 doesn't show up in the list of selectable cameras.

I went ahead and used the following commands: codesign --remove-signature /Applications/WhatsApp.app

Inside /Applications/WhatsApp.app/Contents/Frameworks

codesign --remove-signature WhatsApp\ Helper.app codesign --remove-signature WhatsApp\ Helper\ \(GPU\).app/ codesign --remove-signature WhatsApp\ Helper\ \(Plugin\).app/ codesign --remove-signature WhatsApp\ Helper*

The camera finally showed up but during calls the feed is black.

resourceful-falcon commented 1 year ago

Same issue here. here is the stuff in the std.err logs

2022-09-21 00:24:50.478 PtpWebcamLaunchAgent[599:6664474] PTPW incrementStreamCountForCameraId: streamCounter=0 for WhatsApp-24442 2022-09-21 00:24:50.478 PtpWebcamLaunchAgent[599:6664474] PTPW incrementStreamCount starting LiveView... 2022-09-21 00:24:50.478 PtpWebcamLaunchAgent[599:6664474] PTPW startLiveView 2022-09-21 00:24:50.550 PtpWebcamLaunchAgent[599:4416] PTPW didSendPTPCommand:inData:response:error:contextInfo: cmd={length = 12, bytes = 0x0c0000000100019210050000}, response={length = 12, bytes = 0x0c00000003000120c3050000}, data=(null) 2022-09-21 00:24:50.810 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming PtpCamera 2022-09-21 00:24:50.814 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming: PtpWebcamLaunchAgentAppDelegate 2022-09-21 00:24:54.588 PtpWebcamLaunchAgent[599:6666178] PTPW listener:shouldAcceptNewConnection: incoming connection... 2022-09-21 00:24:54.588 PtpWebcamLaunchAgent[599:6666178] PTPW listener:shouldAcceptNewConnection: from anonListener... 2022-09-21 00:24:54.589 PtpWebcamLaunchAgent[599:6666178] PTPW listener:shouldAcceptNewConnection: ... connection accepted. 2022-09-21 00:24:54.589 PtpWebcamLaunchAgent[599:6666178] PTPW ping:withCallback: ping received from: WhatsApp Helper (Plugin)-24561 2022-09-21 00:24:56.255 PtpWebcamLaunchAgent[599:6666178] PTPW decrementStreamCountForCameraId: streamCounter=1 for WhatsApp-24442 2022-09-21 00:24:56.275 PtpWebcamLaunchAgent[599:6666178] PTPW decrementStreamCount stopping LiveView... 2022-09-21 00:24:56.275 PtpWebcamLaunchAgent[599:6666178] PTPW stopLiveView 2022-09-21 00:24:58.627 PtpWebcamLaunchAgent[599:6664474] PTPW listener:shouldAcceptNewConnection: connection died 2022-09-21 00:24:58.627 PtpWebcamLaunchAgent[599:6664474] PTPW connectionDied: for WhatsApp Helper (Plugin)-24561 2022-09-21 00:25:00.038 PtpWebcamLaunchAgent[599:6668617] PTPW incrementStreamCountForCameraId: streamCounter=0 for WhatsApp-24442 2022-09-21 00:25:00.038 PtpWebcamLaunchAgent[599:6668617] PTPW incrementStreamCount starting LiveView... 2022-09-21 00:25:00.038 PtpWebcamLaunchAgent[599:6668617] PTPW startLiveView 2022-09-21 00:25:00.128 PtpWebcamLaunchAgent[599:4416] PTPW didSendPTPCommand:inData:response:error:contextInfo: cmd={length = 12, bytes = 0x0c00000001000192a2070000}, response={length = 12, bytes = 0x0c0000000300012055080000}, data=(null) 2022-09-21 00:25:00.387 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming PtpCamera 2022-09-21 00:25:00.388 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming: PtpWebcamLaunchAgentAppDelegate 2022-09-21 00:25:05.263 PtpWebcamLaunchAgent[599:6666178] PTPW decrementStreamCountForCameraId: streamCounter=1 for WhatsApp-24442 2022-09-21 00:25:05.263 PtpWebcamLaunchAgent[599:6666178] PTPW decrementStreamCount stopping LiveView... 2022-09-21 00:25:05.263 PtpWebcamLaunchAgent[599:6666178] PTPW stopLiveView 2022-09-21 00:25:25.836 PtpWebcamLaunchAgent[599:6668690] PTPW incrementStreamCountForCameraId: streamCounter=0 for CaptureHost-72688 2022-09-21 00:25:25.836 PtpWebcamLaunchAgent[599:6668690] PTPW incrementStreamCount starting LiveView... 2022-09-21 00:25:25.836 PtpWebcamLaunchAgent[599:6668690] PTPW startLiveView 2022-09-21 00:25:25.902 PtpWebcamLaunchAgent[599:4416] PTPW didSendPTPCommand:inData:response:error:contextInfo: cmd={length = 12, bytes = 0x0c00000001000192200a0000}, response={length = 12, bytes = 0x0c00000003000120d30a0000}, data=(null) 2022-09-21 00:25:26.161 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming PtpCamera 2022-09-21 00:25:26.161 PtpWebcamLaunchAgent[599:4416] PTPW cameraDidBecomeReadyForLiveViewStreaming: PtpWebcamLaunchAgentAppDelegate 2022-09-21 00:25:49.569 PtpWebcamLaunchAgent[599:4416] PTPW didSendPTPCommand:inData:response:error:contextInfo: cmd={length = 12, bytes = 0x0c0000000100c190b60e0000}, response={length = 12, bytes = 0x0c00000003000120690f0000}, data=(null) 2022-09-21 00:25:54.011 PtpWebcamLaunchAgent[599:6669808] PTPW decrementStreamCountForCameraId: streamCounter=1 for CaptureHost-72688 2022-09-21 00:25:54.031 PtpWebcamLaunchAgent[599:6669808] PTPW decrementStreamCount stopping LiveView... 2022-09-21 00:25:54.031 PtpWebcamLaunchAgent[599:6669808] PTPW stopLiveView