How to update driver memory after changing camera parameters

Hi @keerthitheja
please strip down your example to the absolute minimum for us to reproduce the error.
Alternatively you can use the example already provided by @silas here in this thread and simply change the discovery of the device to match what you do in your application.

Cheers
Chris