Is it possible to detect if whether i am in setup mode or not from the live view.

My goal is to disable the select camera button if the user is not in setup mode and enable it if in setup mode.Is there anyway i can detect this from the sdk.

I believe what you are searching for is:

virtual Mode VideoOS.Platform.EnvironmentManager.Mode

https://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_environment_manager.html&tree=tree_search.html?search=mode