I want to control the Theta V streaming from a python script.
So far here is what I can do :
- show which plugin is “active” (camera._lisPlugins)
- activate RTMP plugin (camera._setPlugin)
- start the active plugin (camera._pluginControl, option=boot)
- stop the active plugin (camera._pluginControl, option=finish)
So far, so good !
Then I restart the active plugin (camera._pluginControl, option=boot) and start to actually stream (with the web page of the plugin). After a moment, I stop the streaming.
After that point, I have a 404 error whenever I try to execute a command (commands/execute)
The only solution is to stop the plugin by pressing the MODE button.
Any idea ?
My code is here : https://gitlab.com/denisbg/theta-v/blob/master/theta_plugin.py
Thnaks in advance for your help !