saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.99k stars 1.2k forks source link

WebRTC Support #385

Open gigiperih opened 6 years ago

gigiperih commented 6 years ago

Hi mate,

I got this error when creating a capturer in WebRTC: Camera name /dev/bus/usb/001/006 does not match any known camera device.

I'm using Camera1Enumerator from WebRTC

Camera1Enumerator enumerator = new Camera1Enumerator();
mUsbCapurer = enumerator.createCapturer(devicesName, null);

@saki4510t is it possible to stream video to WebRTC using UVCCamera library?

Regards, L

hanyc0914 commented 6 years ago

Hello, Have you solve this problem?I 'm doing Android WebRTC application and encounter the same question with you.

gigiperih commented 6 years ago

@hanyc0914 Hi, I solved it by creating custom enumerator.. It's really tricky 😿

proz3m0 commented 5 years ago

Hi @gilangabdulaziz ,

I'm currently working on something similar as well. How did you create a custom enumerator?

MelvinFMQ commented 4 years ago

@gilangabdulaziz I would like to know this aswell!

acrolink commented 4 years ago

@gilangabdulaziz

Would be great if you could share the solution.

pumatus commented 4 years ago

@ hanyc0914嗨, 我通过创建自定义枚举器解决了它。😿

Hello~ How did you create this enumeration? (About transferring from usb camera to webrtc)

acrolink commented 4 years ago

Would be great if @gilangabdulaziz could share that information. What I have done in my situation is to consume the frame arrays provided by USBCamera library (not enumerating available cameras directly).