I have implemented the c++ code as provided and able to get the stream from the camera over LAN. I am using ZCam E2.
I notice that whatever be the setting i set in the camera, C4K, 4K or 3696 x 2772, the max resolution of the stream in 1920 x 1080. Is this a bug or a limitation?