NOTE: if the camera is already in use for streaming by another application/client, applying the resolution & format will not have any effect (until all the streaming sessions have been closed).