usbvideo KSEVENT_VIDCAPTOSTI_EXT_TRIGGER & WebRTC

Hello,

I’m facing an issue with an UVC Camera trigger button on Windows.

I have a video flux of that camera via the WebRTC protocol and I want to know in the same time when the external trigger button is clicked, like a program that is spawned and outputs a message when that button is clicked.

Is this possible ? If yes, do I have to write a driver to do so ?

Thanks for your help

xxxxx@gmail.com wrote:

I’m facing an issue with an UVC Camera trigger button on Windows.

I have a video flux of that camera via the WebRTC protocol and I want to know in the same time when the external trigger button is clicked, like a program that is spawned and outputs a message when that button is clicked.

Is this possible ? If yes, do I have to write a driver to do so ?

So, you have a UVC camera, which is connected to your browser, which is
pulling a video stream from the camera, and sending it out via WebRTC.
Now, you want to take some action when the button is triggered. Is that
right? What kind of action do you want to take? You can’t forward it
to your Javascript without modifying the WebRTC code, since that’s where
the DirectShow graph lives.

It is certainly possible to write a filter driver to uvcvideo.sys to
trap this message, but then what? What user mode app will be listening?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.