USB camera to mediaStream?

Hi there!)
I have an app with WebRTC. And also, I have idea to add possibility to stream video from usb camera with it. Is that possible? How to get mediastream from external device?
I found plugin what works with extarnal camera, but hasn’t any function like “getStream()”
Any ideas?