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.

Intro to Networking in Swift

Meaningful Error Messages for iOS UI Tests

Abstract Factory Design Pattern

Understanding Swift protocol Associated types

SwiftUI Import/Export files

Understanding Swift’s @unknown and @frozen attribute

Solving the Captive Portal Problem on iOS

Creating a basketball simulator using UIKit only

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

Smartmi P1 Air Purifier REVIEW | MacSources

Apply Drupal 9 patches with composer

Installing and Setting up Oh-my-zsh Terminal on Windows

ProtonMail account setup