Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: can SR300 be used as a general webcam on mac? #2893

Closed
jessefulton opened this issue Dec 14, 2018 · 9 comments
Closed

Question: can SR300 be used as a general webcam on mac? #2893

jessefulton opened this issue Dec 14, 2018 · 9 comments

Comments

@jessefulton
Copy link

Required Info
Camera Model SR300
Firmware Version 3.21.0.0
Operating System & Version MacOS 10.13
Platform Macbook Pro
SDK Version 2.17.0
Language N/A
Segment Others

Issue Description

Is it possible to use the SR300 as a general webcam in MacOS off-the-shelf applications? I can see the device as a camera option in PhotoBooth, OBS, and Chrome - however, when selected, no image appears. I am using USB 3.0 and the camera does work in realsense-viewer. I have also used it in other applications as a primary webcam on a Microsoft surface pro, I'm just hoping it can be used in this manner on a Macbook Pro.

Thanks!

@MartyG-RealSense
Copy link
Collaborator

I can't speak for Mac as I only have PCs, but it has always been the case with the 'front facing' RealSense camera models, including SR300, that they can operate as ordinary RGB webcams on PCs. Make sure you have the SR300 plugged into a USB 3 port.

Here is a snapshot I just took with the SR300 in Skype, using it as the video webcam.

image

@jessefulton
Copy link
Author

Yes, I have confirmed that it does work on a Windows machine, but I'm specifically wondering if/how it could work as a standard webcam on macOS?

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Dec 14, 2018

I found a case from the past where someone else asked this. The advice given by the Intel support representative was to install Librealsense 1 (now known as the Legacy version after SDK 2.0's introduction).

https://software.intel.com/en-us/forums/realsense/topic/621670

Of course, Librealsense 2 did not exist at the time of this answer, so I would recommend seeing first if SR300 can be recognized as a webcam with SDK 2.0 installed.

Legacy Librealsense can be found here:

https://github.com/IntelRealSense/librealsense/tree/v1.12.1

@dorodnic
Copy link
Contributor

I was not able to use the SR300 on a Mac without librealsense (via Skype and other standard Apps)
The same holds true for the D400 series. I suspect this is due to how the depth cameras enumerate at the firmware level.
Of course, any version of librealsense will support the SR300 (both legacy and current)

@jessefulton
Copy link
Author

@dorodnic did you have to do anything special to get it to work? As I mentioned in the original post, the camera works fine with the realsense viewer, but if I try to select it as a camera source in any other application, it is black/empty.

@RealSense-Customer-Engineering
Copy link
Collaborator

[Realsense Customer Engineering Team Comment]
Hi jessefulton,
As mentioned, the SR300 should work with the RealSense Viewer application provided by the libRealSense on Mac.
Using SR300 with standard App such as facetime is not supported.
Closing this issue, but feel free to reopen it if needed.

@cjoy
Copy link

cjoy commented Jun 25, 2019

@jessefulton Have you managed to get the realsense working as a camera source on Mac?

I'm trying to build a browser application that uses the realsense, using chrome's Media Capture Depth Stream Extensions, but having trouble enumerating frames from the realsense on Mac (Mojave). It works perfectly fine on windows.

@jessefulton
Copy link
Author

@mrchrisjoy nope - I gave up on it after the customer service response ☹️

@Timmmm
Copy link

Timmmm commented Aug 2, 2021

I have a D435 camera and can report a similar experience. It works through librealsense but not as a UVC camera. In fact it doesn't even enumerate as a UVC camera. It enumerates as a USB device but the UVC driver seems to crash when connecting to it. This is from the Console app:

default	09:59:26.437452+0100	kernel	596693.199243 SSP1@01100000: AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumerated 0x8086/0b07/50ce (Intel(R) RealSense(TM) Depth Camera 435 )
default	09:59:26.509640+0100	VDCAssistant	[guid:0x110000080860b07] DeviceArrived service:0x6127 (id: 0x1000c6827)
error	09:59:26.511667+0100	VDCAssistant	CMIO_DPA_VDC_Server_Assistant.cpp:1453:GetDeviceByGUID No match for specified GUID 0x110000080860b07
error	09:59:26.511729+0100	VDCAssistant	DeviceArrived  caught an exception from determining the deviceType (0x2) or removing the device
default	09:59:26.511785+0100	VDCAssistant	[guid:0x110000080860b07] DeviceArrived  creating device (type: 2)
default	09:59:26.516032+0100	icdd	           Device DB | Creating local devices
default	09:59:26.517189+0100	VDCAssistant	[guid:0x110000080860b07] Found Camera with VID: 32902 (0x8086), PID: 2823 (0x0b07), release: 0x50ce
default	09:59:26.522507+0100	VDCAssistant	[guid:0x110000080860b07] Camera with bInterval 0 mConcurrentTransfers : 3
error	09:59:26.524117+0100	VDCAssistant	CMIO_DPA_VDC_Server_Device.cpp:556 cmio assert: "device != ((io_object_t) 0)" at exit - (err=0)
error	09:59:26.524281+0100	VDCAssistant	CMIO_DPA_VDC_Server_Device.cpp:2183:DiscoverCapabilities [guid:0x110000080860b07] DiscoverCapabilities: couldn't find any for format descriptors
default	09:59:26.518716+0100	kernel	Sandbox: icdd(623) allow file-read-data /Library/Image Capture/Devices
default	09:59:26.519176+0100	kernel	Sandbox: icdd(623) allow file-read-data /Library/Image Capture/Devices/EPSON Scanner.app/Contents/Resources/DeviceMatchingInfo.plist
error	09:59:26.524400+0100	VDCAssistant	CMIO_DPA_VDC_Server_Device.cpp:2224:DiscoverCapabilities IO return no device
error	09:59:26.524431+0100	VDCAssistant	DeviceArrived  Found a camera (0x110000080860b07) , but was not able to start it up (0xe00002c0 -- (iokit/common) no such device)
default	09:59:26.524533+0100	VDCAssistant	[guid:0x110000080860b07] DisposeFrames outstanding completions 0
default	09:59:26.524703+0100	VDCAssistant	[guid:0x110000080860b07] DisposeFrames outstanding completions 0
default	09:59:26.524913+0100	VDCAssistant	[guid:0x110000080860b07] DisposeFrames outstanding completions 0
default	09:59:26.524940+0100	VDCAssistant	[guid:0x110000080860b07] SuspendDeviceOnQuit false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants