# PTZ camera control left and right event not working

**URL:** <https://devforum.zoom.us/t/ptz-camera-control-left-and-right-event-not-working/87053>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [April 20, 2023, 7:37am UTC](https://devforum.zoom.us/t/ptz-camera-control-left-and-right-event-not-working/87053 "2023-04-20T07:37:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rakesh.d](https://avatars.discourse-cdn.com/v4/letter/r/e68b1a/32.png) [@rakesh.d](https://devforum.zoom.us/u/rakesh.d)\
**Post date:** [April 20, 2023, 7:37am UTC](https://devforum.zoom.us/t/ptz-camera-control-left-and-right-event-not-working/87053/1 "2023-04-20T07:37:22Z")

</div>

We are creating an application, and one feature requires that other people outside the office can operate the camera during the Zoom video calls. We use the zoom video SDK-1.7.0 PTZ feature to accommodate this, but the **CameraControlCmd.Left** and **CameraControlCmd.Right** event is not working.

can you please let me know how we can fix this?

Camera Detail  
[OBSBOT Tiny PTZ 4K Webcam](https://www.obsbot.com/store/products/tiny-series)  
Video SDK Detail  
[Zoom video SDK 1.7.0](https://devsupport.zoom.us/hc/en-us/articles/13993303771405-Zoom-Video-SDK-web-1-7-0)

Thanks in advance.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/9/b93fb47766fabfadef410ba74d33114b638b9796.png)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 21, 2023, 2:35am UTC](https://devforum.zoom.us/t/ptz-camera-control-left-and-right-event-not-working/87053/2 "2023-04-21T02:35:26Z")

</div>

Hey @rakesh.d

Thanks for your feedback.

From the screenshot, I supposed that you were controlling the local PTZ camera, for the far-end camera, we provide the `stream.controlFarEndCamera` method.

For the `CameraControlCmd.Left ` and `CameraControlCmd.Right` functions, could you try the camera on Chrome PTZ test page [https://ptz.glitch.me/](https://ptz.glitch.me/)?

For further detail, you can refer to this article. [Control camera pan, tilt, and zoom](https://web.dev/camera-pan-tilt-zoom/)

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 21, 2023, 12:36pm UTC](https://devforum.zoom.us/t/ptz-camera-control-left-and-right-event-not-working/87053/3 "2023-05-21T12:36:05Z")

</div>

Closed on May 21, 2023, 12:36pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
