I came here to make a thread about this same issue. I’m also using the live streaming plugin, and activating/deactivating it via the api. I can activate the plugin fine, and I can deactivate the plugin fine, only as long as I never actually streamed.
To make it clear, this is what works:
- activate streaming plugin with api
- deactivate streaming plugin with api
This is what does not work:
- activate streaming plugin with api
- stream (either with api, or by pressing shutter button, I’ve tried both)
- deactivate streaming plugin with api (FAILS!)
It might be the plugin code itself, but I’m not confident in that. I can still get the battery level over the api while the streaming plugin is activated, so the plugin hasn’t shut down the camera’s “primary” http server.