Recently, a community project received a request for users to connect an external camera to their Mac, hoping that Alfred would support one-click switching between different cameras. Because there is a rarely need to open video, I haven’t noticed how to use an external device on a Mac before, so I try it here.

I remembered that I once bought a Logitech Webcam C110, so I found it and tried it, USB interface, I converted the connection through the docking station USB=>TypeC, then opened Tencent Meeting or Facetime, and can see the plug in the camera options of new equipment. Select Discovery work.

After trying, I found a few problems

  1. The settings such as default camera/disabling a camera can‘t be selected in the Apple Settings Center.
  2. It can only be set correspondingly in the app that uses the camera, such as Tencent Meeting, and the setting can’t be shared.

At home, I often run my Mac in host mode. In host mode, mic/camera is unavailable. At this time, if there is a video demand, the value of an external camera will appear, and the camera quality of the Mac is not so good as well.

After solving how to use the external camera, looking back at the efficiency plug-in support of netizens, the Mac GUI must have a setting place, or the terminal/command has corresponding support.

I found that through the command system_profiler SPCameraDataType -json that comes with the Mac after searching material, I can get all the camera devices connected to the Mac, but script control to open a camera is not supported, therefore it is impossible to switch cameras with one key in Alfred.

Finally, the conclusion is that the camera list can be displayed, but the specific operation to open a camera is not work.

  • When the Mac is turn off, the external camera still needs to be operated in a specific app. At present, there is no way to solve this automatically.

--

--

--

Develop with pleasure!

Love podcasts or audiobooks? Learn on the go with our new app.

Swift 5: UIKit is Dying-Part 1.

Slice that Collection: A Swift guide

The MVP iOS Architecture with Coordinators

iOS 14 Property Wrappers Unwrapped

How to Debounce UIButton Taps

App Tracking Transparency Framework in iOS 14

add the description in plist, to prompt to user why you want to track the data across the apps

Google Maps on iOS Is Getting a Dark Mode… Finally

Google Maps on iOS Is Getting a Dark Mode... Finally

Property wrappers in Swift

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alan He

Alan He

Develop with pleasure!

More from Medium

Opening .sh files in macOS Terminal to convert to .ISO for Windows 11 on M1 Mac

Ghostwriter Markdown

Linux for Photographers — Part 2

Export Safari reading list using Python