Unable to Run Callback after Execution of Video stopCapture from Plugin-in Using WebAPI

So the app calls the plugin’s api which is a custom api,

192.168.1.1:8888/video_start

This triggers the plugin to call the camera api to start recording. The api called by the plugin is,

192.168.1.1/osc/commands/execute

"name", "camera.startCapture"