Presently, the only mechanism to switch the video state is to call one of the livedisplay or playback methods in the video API, but they are not exposed via any means in the control API.
Since we are trying to move away from methods in general, perhaps the best solution is to make the videoState property writeable. This setting videoState to "live" enters the live display mode, and setting it to "play" enters playback mode. This would need some sanity checks to ensure that the state transition is valid, and is further complicated that the state changes happen asynchronously to the call that requests them.
Presently, the only mechanism to switch the video state is to call one of the livedisplay or playback methods in the video API, but they are not exposed via any means in the control API.
Since we are trying to move away from methods in general, perhaps the best solution is to make the videoState property writeable. This setting videoState to "live" enters the live display mode, and setting it to "play" enters playback mode. This would need some sanity checks to ensure that the state transition is valid, and is further complicated that the state changes happen asynchronously to the call that requests them.