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

Sony A7-III HDMI output disabled when tethered to USB #53

Open leolabs opened 3 years ago

leolabs commented 3 years ago

I just tried setting this project up, but my Sony A7-III is wrongly recognized as an A7S-III and no controls are available. I've set the camera to be in "PC Control" mode and connected it to my Mac via USB.

Here's the camera report:

# PTP Webcam Sony Corporation ILCE-7M3 Camera Report

PTP Version:              100
Vendor Extension ID:      17
Vendor Extension Version: 100
Vendor Description:       Sony PTP Extensions
Functional Mode:          0
Device Version:           1.0

## Supported Operations

- 0x1001 (PTP Get Device Info)
- 0x1002 (PTP Open Session)
- 0x1003 (PTP Close Session)
- 0x1004 (PTP Get Storage IDs)
- 0x1005 (PTP Get Storage Info)
- 0x1006 (PTP Get Number of Objects)
- 0x1007 (PTP Get Object Handles)
- 0x1008 (PTP Get Object Info)
- 0x1009 (PTP Get Object)
- 0x100A (PTP Get Thumb)
- 0x101B (PTP Get Partial Object)
- 0x9201 (Sony Connect)
- 0x9202 (Sony GetProperties)
- 0x9205 (Sony SetProperty)
- 0x9207 (Sony StepProperty)
- 0x9209 (Sony GetAllPropertyData)

## Supported Events

- 0xC201 (?)
- 0xC202 (?)
- 0xC203 (?)

## Supported Properties

Is there a way to fix this or make it work? I'd be glad to help if there's anything I can do :)

leolabs commented 3 years ago

For completeness, here are the logs I get when I connect my camera. The camera is stuck in "Connecting...".

ptp camera log ``` default 11:32:39.711555+0200 runningboardd Acquiring assertion targeting daemon from originator [daemon:167] with description attributes = { ; } default 11:32:39.711678+0200 runningboardd Assertion 354-167-14758 (target:daemon) will be created as active default 11:32:39.712189+0200 runningboardd [daemon:26998] Ignoring jetsam update because this process is not memory-managed default 11:32:39.712352+0200 runningboardd [daemon:26998] Ignoring GPU update because this process is not GPU managed default 11:32:39.712625+0200 runningboardd Invalidating assertion 354-167-14626 (target:daemon) from originator 167 default 11:32:39.712311+0200 runningboardd Finished acquiring assertion 354-167-14758 (target:daemon) default 11:32:39.816476+0200 runningboardd [daemon:26998] Ignoring jetsam update because this process is not memory-managed default 11:32:39.816514+0200 runningboardd [daemon:26998] Error 45 setting darwin role to NonUserInteractive: Operation not supported, falling back to setting priority default 11:32:39.816633+0200 runningboardd [daemon:26998] Set darwin priority to: PRIO_DEFAULT default 11:32:39.817567+0200 runningboardd [daemon:26998] Ignoring GPU update because this process is not GPU managed default 11:32:41.302944+0200 PtpWebcamLaunchAgent com.apple.device-attach.sony default 11:32:41.357187+0200 PtpWebcamLaunchAgent note | ICANotificationTypeDeviceBrowserContentChanged default 11:32:41.357228+0200 PtpWebcamLaunchAgent Added | ILCE-7M3 default 11:32:41.357292+0200 PtpWebcamLaunchAgent ILCE-7M3 | +++ [0x1000004e] Creating Camera default 11:32:41.357347+0200 PtpWebcamLaunchAgent ILCE-7M3 | Add Device default 11:32:41.357414+0200 PtpWebcamLaunchAgent Delegate Updated | PtpWebcamLaunchAgentAppDelegate default 11:32:41.546073+0200 PtpWebcamLaunchAgent ILCE-7M3 | >>>> 0x02000007 default 11:32:41.546590+0200 PtpWebcamLaunchAgent ILCE-7M3 | Bringing Up Devices Connection default 11:32:41.642945+0200 tccd -[TCCDAccessIdentity staticCode]: static code for: identifier org.ptpwebcam.PtpWebcamAgent, type: 0: 0x7fc54a606b90 at /Library/CoreMediaIO/Plug-Ins/DAL/PTPWebcamDALPlugin.plugin/Contents/Frameworks/PtpWebcamLaunchAgent.app default 11:32:41.650635+0200 PTPCamera icdevice | [ 2] Added Client: PtpWebcamLaunchAgent default 11:32:41.650954+0200 PtpWebcamLaunchAgent ILCE-7M3 | ✅ Open Session default 11:32:41.651149+0200 PtpWebcamLaunchAgent device didOpenSession default 11:32:41.651235+0200 PtpWebcamLaunchAgent Delegate Updated | PtpCameraSony default 11:32:41.651660+0200 PtpWebcamLaunchAgent ◸◸◸◸ | Module: 0 default 11:32:41.651693+0200 PtpWebcamLaunchAgent ◺◺◺◺ | Preflighted: 0 default 11:32:41.651714+0200 PtpWebcamLaunchAgent ▷ | Enumerated: 0 default 11:32:41.651747+0200 PtpWebcamLaunchAgent ILCE-7M3 | 🏁 Device Did Become Ready default 11:32:41.651791+0200 PtpWebcamLaunchAgent ILCE-7M3 | (Enumerated:0/Preflighted:0) default 11:32:41.651855+0200 PtpWebcamLaunchAgent deviceDidBecomeReadyWithCompleteContentCatalog ICCameraDevice <0x7fbefe725020>: delegate : <0x7fbefe52d960> deviceRef : 0x1000004e connectionID : 0x15b78264 deviceID : 0x02000007 name : ILCE-7M3 locationDescription : ICDeviceLocationDescriptionUSB iconPath : /System/Library/Image Capture/Support/Icons/GenericCamera.png softwareInstallPercentDone : 100.000000 modulePath : /System/Library/Image Capture/Devices/PTPCamera.app moduleVersion : (null) moduleExecutableArchitecture : 0 type : 0x00000101 UUIDString : 00000000-4341-3835-4130-333938374231 persistentIDString : 00000000-4341-3835-4130-333938374231 autolaunchApplicationPath : capabilities : ICCameraDeviceCanAcceptPTPCommands shared : NO transportType : ICTransportTypeUSB default 11:32:41.651932+0200 PtpWebcamLaunchAgent ILCE-7M3 | 💯 Content Catalog Complete: 0 default 11:32:41.655165+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> {strength 1, tls 8, ct 0, sub 0, sig 0, ciphers 1, bundle 0, builtin 0} default 11:32:41.655359+0200 PtpWebcamLaunchAgent Connection 2: enabling TLS default 11:32:41.655374+0200 PtpWebcamLaunchAgent Connection 2: starting, TC(0x0) default 11:32:41.655400+0200 PtpWebcamLaunchAgent [C2 DF50B364-2877-4062-8C22-BFEA442511EF Hostname#694c0b54:443 tcp, url hash: cdee071e, tls] start default 11:32:41.655647+0200 PtpWebcamLaunchAgent nw_connection_report_state_with_handler_on_nw_queue [C2] reporting state preparing default 11:32:41.656075+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> setting up Connection 2 default 11:32:41.682925+0200 PtpWebcamLaunchAgent nw_socket_handle_socket_event [C2.1:3] Socket received CONNECTED event default 11:32:41.683119+0200 PtpWebcamLaunchAgent nw_flow_connected [C2.1 IPv4#cc84a47e:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns)] Transport protocol connected default 11:32:41.683393+0200 PtpWebcamLaunchAgent boringssl_context_set_handshake_config(1471) [0x7fbeffc262a0] set tls_handshake_config_standard default 11:32:41.683439+0200 PtpWebcamLaunchAgent boringssl_context_set_min_version(324) [0x7fbeffc262a0] set 0x0301 default 11:32:41.683480+0200 PtpWebcamLaunchAgent boringssl_context_set_max_version(308) [0x7fbeffc262a0] set 0x0304 default 11:32:41.683568+0200 PtpWebcamLaunchAgent boringssl_context_set_cipher_suites(843) [0x7fbeffc262a0] Ciphersuite string: TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-CHACHA20-POLY1305:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:AES256-SHA:AES128-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:DES-CBC3-SHA default 11:32:41.683676+0200 PtpWebcamLaunchAgent boringssl_context_set_remote_address(2555) [0x7fbeffc262a0] Saving remote IPv4 address default 11:32:41.683742+0200 PtpWebcamLaunchAgent boringssl_session_install_association_state(1258) [0x7fbeffc262a0] Client session cache hit default 11:32:41.683834+0200 PtpWebcamLaunchAgent boringssl_session_set_peer_hostname(1154) [0x7fbeffc262a0] SNI default 11:32:41.683870+0200 PtpWebcamLaunchAgent boringssl_context_set_min_version(324) [C2.1:2][0x7fbeffc262a0] set 0x0303 default 11:32:41.683896+0200 PtpWebcamLaunchAgent boringssl_context_set_fallback(374) [C2.1:2][0x7fbeffc262a0] set false default 11:32:41.683922+0200 PtpWebcamLaunchAgent boringssl_context_set_session_ticket_enabled(440) [C2.1:2][0x7fbeffc262a0] set false default 11:32:41.683945+0200 PtpWebcamLaunchAgent boringssl_context_set_false_start(410) [C2.1:2][0x7fbeffc262a0] set false default 11:32:41.684067+0200 PtpWebcamLaunchAgent boringssl_context_set_enforce_ev(400) [C2.1:2][0x7fbeffc262a0] set false default 11:32:41.684108+0200 PtpWebcamLaunchAgent boringssl_context_set_ats_enforced(1285) [C2.1:2][0x7fbeffc262a0] set false default 11:32:41.684138+0200 PtpWebcamLaunchAgent boringssl_context_set_ats_minimum_rsa_key_size(1294) [C2.1:2][0x7fbeffc262a0] set 0 default 11:32:41.684163+0200 PtpWebcamLaunchAgent boringssl_context_set_ats_minimum_ecdsa_key_size(1303) [C2.1:2][0x7fbeffc262a0] set 0 default 11:32:41.684264+0200 PtpWebcamLaunchAgent boringssl_context_set_ats_minimum_signature_algorithm(1313) [C2.1:2][0x7fbeffc262a0] set 0 default 11:32:41.684309+0200 PtpWebcamLaunchAgent boringssl_session_set_peer_hostname(1154) [C2.1:2][0x7fbeffc262a0] SNI default 11:32:41.684357+0200 PtpWebcamLaunchAgent boringssl_context_set_cipher_suites(843) [C2.1:2][0x7fbeffc262a0] Ciphersuite string: TLS_AES_128_GCM_SHA256:TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-CHACHA20-POLY1305 default 11:32:41.684420+0200 PtpWebcamLaunchAgent nw_protocol_boringssl_begin_connection(497) [C2.1:2][0x7fbeffc262a0] early data disabled default 11:32:41.684453+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1970) [C2.1:2][0x7fbeffc262a0] Client handshake started default 11:32:41.684555+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Writing SSL3_RT_HANDSHAKE 512 bytes default 11:32:41.684585+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client enter_early_data default 11:32:41.684612+0200 PtpWebcamLaunchAgent boringssl_context_add_handshake_message_pending(578) [C2.1:2][0x7fbeffc262a0] Adding message(1) default 11:32:41.684710+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_server_hello default 11:32:41.684741+0200 PtpWebcamLaunchAgent boringssl_context_add_handshake_message_pending(578) [C2.1:2][0x7fbeffc262a0] Adding message(2) default 11:32:41.684781+0200 PtpWebcamLaunchAgent boringssl_session_handshake_incomplete(170) [C2.1:2][0x7fbeffc262a0] Handshake incomplete: waiting for data to read [2] default 11:32:41.684828+0200 PtpWebcamLaunchAgent boringssl_session_handshake_incomplete(170) [C2.1:2][0x7fbeffc262a0] Handshake incomplete: waiting for data to read [2] default 11:32:41.717427+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_HANDSHAKE 93 bytes default 11:32:41.717552+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_server_certificate default 11:32:41.717607+0200 PtpWebcamLaunchAgent boringssl_context_add_handshake_message_pending(578) [C2.1:2][0x7fbeffc262a0] Adding message(2) default 11:32:41.717674+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_HANDSHAKE 2636 bytes default 11:32:41.717746+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_certificate_status default 11:32:41.717792+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client verify_server_certificate default 11:32:41.717972+0200 PtpWebcamLaunchAgent boringssl_context_copy_peer_sct_list(1003) [C2.1:2][0x7fbeffc262a0] SSL_get0_signed_cert_timestamp_list returned no SCT extension data default 11:32:41.718178+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(607) [C2.1:2][0x7fbeffc262a0] SecTrustCreateWithCertificates result: 0 default 11:32:41.718224+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(614) [C2.1:2][0x7fbeffc262a0] No TLS-provided OCSP response default 11:32:41.718264+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(621) [C2.1:2][0x7fbeffc262a0] No TLS-provided SCTs default 11:32:41.718431+0200 PtpWebcamLaunchAgent boringssl_context_certificate_verify_callback(2071) [C2.1:2][0x7fbeffc262a0] Asyncing for verify block default 11:32:41.718465+0200 PtpWebcamLaunchAgent boringssl_session_handshake_incomplete(170) [C2.1:2][0x7fbeffc262a0] Handshake incomplete: certificate evaluation result pending [16] default 11:32:41.718503+0200 PtpWebcamLaunchAgent Connection 2: asked to evaluate TLS Trust default 11:32:41.727471+0200 PtpWebcamLaunchAgent System Trust Evaluation yielded status(0) default 11:32:41.733968+0200 PtpWebcamLaunchAgent Connection 2: TLS Trust result 0 default 11:32:41.734018+0200 PtpWebcamLaunchAgent boringssl_context_certificate_verify_callback_block_invoke_3(2080) [C2.1:2][0x7fbeffc262a0] Returning from verify block default 11:32:41.734056+0200 PtpWebcamLaunchAgent boringssl_context_certificate_verify_callback(2047) [C2.1:2][0x7fbeffc262a0] Setting trust result to ssl_verify_ok default 11:32:41.734075+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_server_key_exchange default 11:32:41.734096+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_HANDSHAKE 333 bytes default 11:32:41.734213+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_certificate_request default 11:32:41.734235+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_HANDSHAKE 4 bytes default 11:32:41.734252+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_server_hello_done default 11:32:41.734270+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client send_client_certificate default 11:32:41.734286+0200 PtpWebcamLaunchAgent boringssl_context_add_handshake_message_pending(578) [C2.1:2][0x7fbeffc262a0] Adding message(14) default 11:32:41.734304+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client send_client_key_exchange default 11:32:41.734555+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Writing SSL3_RT_HANDSHAKE 70 bytes default 11:32:41.734586+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client send_client_certificate_verify default 11:32:41.734603+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client send_client_finished default 11:32:41.734628+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Writing SSL3_RT_CHANGE_CIPHER_SPEC 1 bytes default 11:32:41.734666+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Writing SSL3_RT_HANDSHAKE 16 bytes default 11:32:41.734684+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client finish_flight default 11:32:41.734736+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_session_ticket default 11:32:41.734757+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client process_change_cipher_spec default 11:32:41.734785+0200 PtpWebcamLaunchAgent boringssl_session_handshake_incomplete(170) [C2.1:2][0x7fbeffc262a0] Handshake incomplete: waiting for data to read [2] default 11:32:41.734806+0200 PtpWebcamLaunchAgent boringssl_session_handshake_incomplete(170) [C2.1:2][0x7fbeffc262a0] Handshake incomplete: waiting for data to read [2] default 11:32:41.760695+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_CHANGE_CIPHER_SPEC 1 bytes default 11:32:41.760793+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client read_server_finished default 11:32:41.760855+0200 PtpWebcamLaunchAgent boringssl_context_message_handler(2258) [C2.1:2][0x7fbeffc262a0] Reading SSL3_RT_HANDSHAKE 16 bytes default 11:32:41.760927+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client finish_client_handshake default 11:32:41.760982+0200 PtpWebcamLaunchAgent boringssl_context_new_session_handler(1117) [C2.1:2][0x7fbeffc262a0] New session available default 11:32:41.761055+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1983) [C2.1:2][0x7fbeffc262a0] Client handshake state: TLS client done default 11:32:41.761225+0200 PtpWebcamLaunchAgent boringssl_context_copy_peer_sct_list(1003) [C2.1:2][0x7fbeffc262a0] SSL_get0_signed_cert_timestamp_list returned no SCT extension data default 11:32:41.761466+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(607) [C2.1:2][0x7fbeffc262a0] SecTrustCreateWithCertificates result: 0 default 11:32:41.761497+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(614) [C2.1:2][0x7fbeffc262a0] No TLS-provided OCSP response default 11:32:41.761522+0200 PtpWebcamLaunchAgent boringssl_helper_create_sec_trust_with_certificates(621) [C2.1:2][0x7fbeffc262a0] No TLS-provided SCTs default 11:32:41.761696+0200 PtpWebcamLaunchAgent boringssl_context_add_handshake_message_pending(578) [C2.1:2][0x7fbeffc262a0] Adding message(20) default 11:32:41.761729+0200 PtpWebcamLaunchAgent boringssl_context_info_handler(1974) [C2.1:2][0x7fbeffc262a0] Client handshake done default 11:32:41.761765+0200 PtpWebcamLaunchAgent nw_protocol_boringssl_signal_connected(701) [C2.1:2][0x7fbeffc262a0] TLS connected [version(0x0303) ciphersuite(0xc030) group(0x0017) peer_key(0x0401) alpn() resumed(0) offered_ticket(0) false_started(0) ocsp(0) sct(0)] default 11:32:41.761878+0200 PtpWebcamLaunchAgent nw_flow_connected [C2.1 IPv4#cc84a47e:443 in_progress socket-flow (satisfied (Path is satisfied), interface: en0, ipv4, ipv6, dns)] Output protocol connected default 11:32:41.762105+0200 PtpWebcamLaunchAgent nw_connection_report_state_with_handler_on_nw_queue [C2] reporting state ready default 11:32:41.762430+0200 PtpWebcamLaunchAgent Connection 2: connected successfully default 11:32:41.762470+0200 PtpWebcamLaunchAgent Connection 2: TLS handshake complete default 11:32:41.762640+0200 PtpWebcamLaunchAgent Connection 2: ready C(N) E(N) default 11:32:41.762773+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> now using Connection 2 default 11:32:41.762837+0200 PtpWebcamLaunchAgent Connection 2: received viability advisory(Y) default 11:32:41.763019+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> sent request, body N 0 default 11:32:41.788362+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> received response, status 200 content K default 11:32:41.788585+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> response ended default 11:32:41.788682+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> done using Connection 2 default 11:32:41.788908+0200 PtpWebcamLaunchAgent Task <9BB5B865-3F01-4603-A4DF-D48529B8071E>.<0> summary for task success {transaction_duration_ms=133, response_status=200, connection=2, protocol="http/1.1", domain_lookup_duration_ms=1, connect_duration_ms=105, secure_connection_duration_ms=77, request_start_ms=107, request_duration_ms=0, response_start_ms=133, response_duration_ms=0, request_bytes=233, response_bytes=434, cache_hit=0} default 11:32:41.804471+0200 PtpWebcamLaunchAgent PTPW downloadReleaseInfo relase info: { downloadUrl = "https://github.com/dognotdog/ptpwebcam/releases/download/v1.2.6/PTP_Webcam-v1.2.6.pkg"; versionString = "1.2.6"; } default 11:32:42.863704+0200 PtpWebcamLaunchAgent note | ICANotificationTypeDeviceBrowserContentChanged default 11:32:42.863768+0200 PtpWebcamLaunchAgent Updated | ILCE-7M3 default 11:32:46.757795+0200 PtpWebcamLaunchAgent nw_socket_handle_socket_event [C2.1:3] Socket received READ_CLOSE event default 11:32:46.757847+0200 PtpWebcamLaunchAgent nw_protocol_boringssl_input_finished(1700) [C2.1:2][0x7fbeffc262a0] state: 2 default 11:32:46.757968+0200 PtpWebcamLaunchAgent Connection 2: read-side closed default 11:32:46.758050+0200 PtpWebcamLaunchAgent Connection 2: is being canceled ```
leolabs commented 3 years ago

I also see that Google Chrome and Google Backup & Sync are trying to access the camera in the logs. Could that be a problem?

leolabs commented 3 years ago

I think I found the culprit. I'm running Micro Snitch in the background to be notified when apps use my webcam or microphone, but it seems to collide with PTP Webcam. Closing Micro Snitch and re-connecting the camera seems to do it.

I got two more errors though:

  1. When I connect my camera, I get this message: Screenshot 2020-10-12 at 11 52 53
  2. It seems that the ISO value isn't read correctly. It seems a bit high :D Could this be because my ISO is set to Auto? Screenshot 2020-10-12 at 11 55 40
leolabs commented 3 years ago

Another issue I'm seeing (but that might be more related to the camera) is that my camera's HDMI output is disabled as soon as I connect it to PTP Webcam. I don't really need the camera's video feed over USB, only the controls, since a capture card has a higher quality.

Is there a way to disable your app's video feed functionality and just use it to control the camera's settings?

dognotdog commented 3 years ago

@leolabs I am not sure what to do about the HDMI feed. PTP Webcam does not do anything special to Sony cameras to change LiveView output, as it's always on, and only initiates the tethering connection to the camera to be able to control the settings.

There's a dpreview thread about other cameras having the same issue, and a thread on the Sony forums about the A7-III, but I can see no clear resolution.

As for the other issues, apparently there was a mixup with the A7-III USB product ID, so that'll be fixed in the next release, as well as the error dialog. I've also added a human readable name for the Auto-ISO value.

leolabs commented 3 years ago

Hey @dognotdog,

Thanks for your quick response and thanks for working on this project and making it freely available :)

I've just checked and noticed that my camera's firmware is waaay outdated: Screenshot 2020-10-13 at 00 10 47

I'll do an update and report back whether that solves the HDMI issue. Maybe the simultaneous output via HDMI and PTP control could be a column in your camera matrix so others can check it as well.

Regarding the other issues, thanks for fixing them. I'm looking forward to the next version!

dognotdog commented 3 years ago

@leolabs did you manage to get things to work?

leolabs commented 3 years ago

I stopped trying after a while, but I see that you've just released a new version. Do you think I should try it again now?

dognotdog commented 3 years ago

@leolabs I haven't done anything to resolve the HDMI issue, as that seems to be a camera feature/bug, but I was wondering if you tried with the updated camera firmware?

leolabs commented 3 years ago

Ah, no, that didn't help, unfortunately :/

I'm still using my HDMI capture card but just left the camera settings on auto while adding more light so I have fewer issues with white balance.

JMY1000 commented 9 months ago

Pretty sure the HDMI thing is a camera firmware restriction. Otherwise, my a7 III works great.