Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions PtpWebcamDalPlugin/PtpCameraSony.m
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ + (void) initialize
@(0x054C) : @{
@(0x079B) : @[@"Sony", @"A68"],
@(0x079C) : @[@"Sony", @"A6300"],
//@(0x0641) : @[@"Sony", @"SLT-A99V"], //PTP connection works but does not support Live Preview. Even in Sony own's software https://support.d-imaging.sony.co.jp/app/imagingedge/en/devices/#amount
@(0x079E) : @[@"Sony", @"A99-II"],
@(0x07A4) : @[@"Sony", @"A6500"],
@(0x0953) : @[@"Sony", @"A77-II"],
Expand All @@ -70,6 +71,7 @@ + (void) initialize
@(0x0C34) : @[@"Sony", @"A7S-III"], // A7 III second entry
@(0x0CAA) : @[@"Sony", @"A6400"],
@(0x0CCC) : @[@"Sony", @"A7R-IV"],
@(0x0CAE) : @[@"Sony", @"DSC-RX100M7"],
},
};

Expand Down
2 changes: 2 additions & 0 deletions PtpWebcamLaunchAgent/PtpWebcamLaunchAgentAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,8 @@ - (void)deviceBrowser:(ICDeviceBrowser*)browser didAddDevice:(ICDevice*)camera m
camera.delegate = self;
[camera requestOpenSession];

} else {
PtpLog(@"Not supported camera detected. Brand = 0x%x; Model = 0x%x", camera.usbVendorID, camera.usbProductID);
}
}

Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,20 @@ Installer packages for older releases are available from the [Releases page](htt

### Building from Source

If you want to build from source, you need Xcode. You can build the project and the plugin should be automatically copied into `/Library/CoreMediaIO/Plug-Ins/DAL` to be available to the system. However, apps with _Library Validation_ enabled will need to have codesigning disabled to be able to access the plugin, see the **Known Issues** section below.
If you want to build from source, you need Xcode. For each target you need to manually change the TeamId to match your developer certificate.

The build process will automatically copy the plugin into `/Library/CoreMediaIO/Plug-Ins/DAL` to be available to the system.
Therefore you need to grant your user read-write to the following folders
- `/Library/CoreMediaIO/Plug-Ins/DAL/`
- `/Library/LaunchAgents/`
- `/Library/LaunchDaemons/`

Two build phases require to sudo commands, therefore you will need to setup your KeyChain with an `xcode_bash` password. You can follow instructions [here](https://forum.juce.com/t/build-script-for-automatically-moving-built-aus-into-components-folder-xcode/13112).
You also need to replace `dog` by your username in two places
- `askpass.sh`
- Build Phase _load launchd_ for `org.ptpwebcam.ptpwebcamdalplugin`

However, apps with _Library Validation_ enabled will need to have codesigning disabled to be able to access the plugin, see the **Known Issues** section below.

### Testing the Installation

Expand Down