This PR adds a simple command that (hopefully) lists the cams in the scene along with their index in a few different formats. The intent is to be used alongside the ptzcenter and ptzareazoom commands, allowing any cam to be clicked on without having to select the one to be acted on in advance. Two JSON formats can be returned (one as an array and one as an object) for easier programmatic access as well as a default formatted output just for information.
This PR adds a simple command that (hopefully) lists the cams in the scene along with their index in a few different formats. The intent is to be used alongside the
ptzcenter
andptzareazoom
commands, allowing any cam to be clicked on without having to select the one to be acted on in advance. Two JSON formats can be returned (one as an array and one as an object) for easier programmatic access as well as a default formatted output just for information.