From the documentation there is a section is streaming that states
Use the is_streaming field to turn the camera on or off.
Depending on the user’s home network and your implementation, there may be a lag in response time
You must ask the user if it’s ok to change streaming status (turn the camera on/off)
However the documentation does not provide an example of how to do this. How do you turn the camera on and off with is_streaming field.