Hello, community, please, can someone help me with code sample on how to switch phone camera from front to back vice-versa on webrtc session in b4a code either in java object or otherwise. I have tried several options with no success. Among my attempt that did not work out are:
1. Using camera2 library and transparent panel as demonstrated from sample code from Erel on change camera. I created panel programmatically, but i couldn't achieve expected result
2. My second attempt was to use intent via java object to open back camera; this opened back camera on intent activity which does not affect webrtc webview camera, hence, it couldn't achieve expected result
Please, kindly help me out