jkevin / PS3EyeDirectShow

DirectShow source filter for PS3 Eye via WinUSB
GNU General Public License v3.0
322 stars 45 forks source link

Camera doesn't work on browsers #13

Open Jkarhani opened 3 years ago

Jkarhani commented 3 years ago

Hello, the camera is not working on any browser, though I installed the driver & it's working on zoom. I tried a lot of websites like : https://webcamera.io which is working on my other camera Any solution please?

mirh commented 3 years ago

See here. This should be a bug against chrome. EDIT: nvm, they don't have the time/will to check this

LambdaHidden commented 2 years ago

Checked that link, still doesn't work on web browsers, nor Windows 10's default camera app for that matter. Firefox gives the error NotReadableError: Failed to allocate videosource, even when it's the only thing using the camera and has permission. I could use an external app like Manycam, but that would be a significant hit on RAM and CPU.

AllanCat commented 1 year ago

Hi, I've created a fork containing various fixes including web browsers. Can you test to see if it's working? Thanks.

mirh commented 1 year ago

It seems good in firefox, chrome and telegram at first sight. The only ostensible grievance I may still have, is that the microphone still stops to work after standby (and it fails initialization on reconnect). Also, when it works, it takes a noticeable time (on the order of ~4 seconds) for the recording "Sound" settings tab to load.

AllanCat commented 1 year ago

I haven't fiddle with the microphone part yet, when windows recognized microphone as USB Audio Device it automatically working out of box. However I did noticed it only supports 1 device and may failed to initialize when using multiple devices or after plug & unplug several times. What I'm thinking is maybe to create another audio ds filter and using ps3eyemic provided by marcel303.

mirh commented 1 year ago

I feel like maybe this is just about whatever steps are taken when the device goes to sleep? For instance, I don't think it is correct for the blue power led to remain on when the whole system is put into S3.

To be sure though, this isn't specific to this driver, since it also happens with cl-eye. And I wonder if it's something that could even be fixed at the level of the individual (audio or video) components, or if libusb shouldn't be fired onto the root usb composite device.