from obswebsocket import obsws, requests
client = obsws("localhost", 4455)
client.connect()
request = requests.GetStreamStatus()
response = client.call(request)
print(response.datain)
In the above code, I need to use response.datain to access the stream status instead of data or dataout