homebridge-camera-isight icon indicating copy to clipboard operation
homebridge-camera-isight copied to clipboard

iSight only, or any attached webcam?

Open JangoBritt opened this issue 8 years ago • 2 comments

So I've got my homebridge running on a Mac Mini, which obviously doesn't have an iSight camera.

Is this plugin only going to work with iSight, or with any attached camera?

JangoBritt avatar Sep 30 '16 15:09 JangoBritt

You would have to modify the source to do it, the alternative is to use the homebridge-camer-ffmpeg module. You'll need to enumerate the devices using ffmpeg -f avfoundation -list_devices true -i dummy and then taking the index of your webcam, put it into the config.

Something like: "platform": "Camera-ffmpeg", "cameras": [ { "name": "Mac OSX", "videoConfig": { "source": "-re -f avfoundation -video_size 1280x720 -framerate 30 -i 0:3", "maxStreams": 2, "maxWidth": 1280, "maxHeight": 720, "maxFPS": 30 } } ]

where 0:3 corresponds to {webCamIndex}:{audioIndex}

StSimmons avatar Oct 03 '16 09:10 StSimmons

actually i have a usb camera attached to my mac mini that shows up in facetime and photobooth. Even though it is not an iSight camera this plugin works fine with it.

gilesmartin avatar Feb 06 '17 19:02 gilesmartin