Rocosoft PTZ Controller HTTP Request Commands
Rocosoft PTZ Camera Controller allows for control of PTZ Cameras from external programs and devices using Macros and HTTP Requests.
Make sure the WebSever in PTZJoy is ON.
HTTP commands to PTZJoy can be easily run from any Web Browser, on any computer or device, and from everywhere. Just copy a specific command, replace the IP part with the IP address of the computer with PTZJoy and Enjoy!
Camera Movement Commands:
http://IP/PTZJoy=Left
http://IP/PTZJoy=Right
http://IP/PTZJoy=Up
http://IP/PTZJoy=Down
http://IP/PTZJoy=UpLeft
http://IP/PTZJoy=UpRight
http://IP/PTZJoy=DownLeft
http://IP/PTZJoy=DownRight
http://IP/PTZJoy=Stop
http://IP/PTZJoy=ZoomIn
http://IP/PTZJoy=ZoomOut
http://IP/PTZJoy=ZoomStop
http://IP/PTZJoy=FocusAuto
http://IP/PTZJoy=FocusNear
http://IP/PTZJoy=FocusFar
http://IP/PTZJoy=Home
Port Management Commands:
http://IP/PTZJoy=PortDown
http://IP/PTZJoy=PortUp
http://IP/PTZJoy=Port1
http://IP/PTZJoy=Port2
http://IP/PTZJoy=Port3
http://IP/PTZJoy=Port4
http://IP/PTZJoy=Port5
Camera Number Management Commands:
http://IP/PTZJoy=CamNumUp
http://IP/PTZJoy=CamNumDown
http://IP/PTZJoy=Camera1
http://IP/PTZJoy=Camera2
http://IP/PTZJoy=Camera3
http://IP/PTZJoy=Camera4
http://IP/PTZJoy=Camera5
http://IP/PTZJoy=Camera6
http://IP/PTZJoy=Camera7
http://IP/PTZJoy=Camera8
Preset Management Commands:
http://IP/PTZJoy=Preset1 - 32 (Preset Call)
http://IP/PTZJoy=IntPresets (Switch to Internal Presets - Cut)
http://IP/PTZJoy=ExtPresets (Switch to External Presets - Fade)
http://IP/PTZJoy=SetPreset (Save current Preset)
Utility Commands:
http://IP/PTZJoy=XJoyOn
http://IP/PTZJoy=XJoyOff
http://IP/PTZJoy=SlowJoy1
http://IP/PTZJoy=SlowJoy2
http://IP/PTZJoy=SlowJoy3
http://IP/PTZJoy=SlowJoyOff
http://IP/PTZJoy=SoftJoyOn
http://IP/PTZJoy=SoftJoyOff
http://IP/PTZJoy=TallyOn
http://IP/PTZJoy=TallyOff
http://IP/PTZJoy=CamOn
http://IP/PTZJoy=CamOff
Macro Management Commands:
PJ/RunMacro1 - 16 (Load Macros)
Extra Advanced Studio Commands:
Macro Management Commands:
http://IP/PTZJoy=UnLoadMacro1 - 16 (Stop Macros)
http://IP/PTZJoy=LoopMacro1 - 16 (Loop Macros)
http://IP/PTZJoy=DirectMacroCmd=Macro=1_Cmd=1 - 16 (Load a specific command from a specific macro)
Direct Preset Management Commands:
http://IP/PTZJoy=DirectPresetCall=Port=1_Cam=1_IntPreset=1 - 32 (Call Internal Camera Preset - Cut)
http://IP/PTZJoy=DirectPresetCall=Port=1_Cam=1_ExtPreset=1 - 32 (Call External InPTZJoy Preset - Fade)
Direct Camera Movement Commands:
http://IP/PTZJoy=DirectPTMove=Port=1_Cam=1_P=1_T=1 (P=-24 to P=24, T=-18 to T=18)
http://IP/PTZJoy=DirectZMove=Port=1_Cam=1_Z=1 (Z=-8 to Z=8)
http://IP/PTZJoy=DirectPTZMove=Port=1_Cam=1_P=1_T=1_Z=1 (P=-24 to P=24, T=-18 to T=18, Z=-8 to Z=8)
http://IP/PTZJoy=DirectPTMove=Port=1_Cam=1_P=0_T=0 (Pan and Tilt Stop)
http://IP/PTZJoy=DirectZMove=Port=1_Cam=1_Z=0 (Zoom Stop)
http://IP/PTZJoy=DirectPTZMove=Port=1_Cam=1_P=0_T=0_Z=0 (Pan, Tilt, and Zoom Stop)
Trace Management Commands:
http://IP/PTZJoy=Trace1 - 4 (From 1 to 4)
http://IP/PTZJoy=DirectTrace=Cam=1_Trace=1 (From Cam=1_Trace=1 To Cam=4_Trace=4)
PTZ Camera and Live Production System Monitoring:
http://IP/PTZJoy=ActivePTZJoyCamNum? (Returns the number of active camera in PTZJoy)
http://IP/PTZJoy=ActiveProgramVmixCamNum? (Returns the number of active input in vMix Program window)
http://IP/PTZJoy=ActivePreviewVmixCamNum? (Returns the number of active input in vMix Preview window)
http://IP/PTZJoy=ActiveProgramTricCamNum? (Returns the number of active input in TriCaster Program window)
http://IP/PTZJoy=ActivePreviewTricCamNum? (Returns the number of active input in TriCaster Preview window)
Add a port number to the request if it's not Port80 (Port 1001 for example):
http://localhost:1001/PTZJoy=Left
http://10.1.10.85:1001/PTZJoy=Camera3
http://192.168.0.10:1001/PTZJoy=Camera2
etc.
Using 127.0.0.1 or localhost on the same computer will work
and sometimes even more preferable:
http://localhost:1001/PTZJoy=Left
http://127.0.0.1/PTZJoy=Camera3
etc.
PTZ Camera Control with Elgato Streamdeck and PTZJoy