AlexxIT / go2rtc

Ultimate camera streaming application with support RTSP, RTMP, HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
https://github.com/AlexxIT/Blog
MIT License
3.77k stars 307 forks source link

Duplicate Devices #1198

Open V4LVE opened 2 weeks ago

V4LVE commented 2 weeks ago

I've tried to setup go2rtc on a windows machine. I've connected two webcams of the same brand and model. However, under devices they've got the same name and device name. So when i try to connect its the same webcam.

How do I fix this?

image

AlexxIT commented 2 weeks ago

You need to get USB devices list via ffmpeg. Check ffmpeg docs or go2rtc source. And use device ID instead of name.