I am looking for the specification on sending PTZ commands through a WebRTC data channel. So far, I could find a pan command example on the following page:
async function command(command) {var ptzCommand = {jsonrpc : “2.0”,type: “request”,method: “ptzMove”,params: { direction: command }};dataChannel.send(JSON.stringify(ptzCommand));
}
Where could I find the full specification of the commands (i.e., Zoom commands)?
Thanks,Jack