Start streaming the computer’s display to an RTMP server. This allows you to spectate your agent’s computer in real-time through platforms like Twitch, YouTube Live, or custom RTMP servers.
# Start streaming to a configured connectionresult = computer.start_stream("my-twitch-1")# The computer's display is now being streamed# Do your automation/democomputer.type("Hello viewers!")computer.bash("ls -la")# Stop streaming when donecomputer.stop_stream()