Elektordi / obs-websocket-py

Python library to communicate with an obs-websocket server (for OBS Studio)
MIT License
235 stars 59 forks source link

GetStreamStatus Inputdata and outputdata mix up #92

Open MutaMK opened 7 months ago

MutaMK commented 7 months ago

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