It's amazing of obs websocket. Your code is simple and useful. Further, I want to use it to synchronize obs with other DAQ system.
I see this code work for me. However, how to register that like 'Event: RecordStatusChanged'.
cl.start_record()
cl.stop_record()