How can we get the camera information about resolution, bandwidth, codec, fps before establishing the connection to Image Server by using the API? Thanks.

Please see this link, this sample might be helpful -

https://doc.developer.milestonesys.com/html/index.html?base=samples/componentsamples/configapiclient/readme.html&tree=tree_2.html