Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Control usb PTZ camera in a browser using JavaScript

I have a Logitech PTZ USB camera. I have prepared a video call functionality using WebRtc. Now what I need is to add Pan, Tilt and Zoom controls within the browser so user can controls the camera based on his need.

Is it possible to implement PTZ control using JavaScript/WebRtc or any other third-party JS?

like image 438
Mhadonis Avatar asked Aug 14 '26 11:08

Mhadonis


1 Answers

Scott Hanselman wrote a PTZ controller for the Logitech cameras back in 2012: https://www.hanselman.com/blog/CloudControlledRemotePanTiltZoomCameraAPIForALogitechBCC950CameraWithAzureAndSignalR.aspx

The APIs needed for that are not available to Javascript sadly.

like image 56
Philipp Hancke Avatar answered Aug 16 '26 02:08

Philipp Hancke