mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 21:00:53 +00:00
md change in readme
This commit is contained in:
parent
eed83946c8
commit
59d66d6ede
18
README.md
18
README.md
@ -39,18 +39,14 @@ Otherwise:
|
||||
port: port to access server
|
||||
password: obs websocket server password
|
||||
|
||||
```
|
||||
>>>from obsstudio_sdk.reqs import ReqClient
|
||||
>>>
|
||||
>>>client = ReqClient('192.168.1.1', 4444, 'somepassword')
|
||||
```
|
||||
Example `__main__.py`
|
||||
|
||||
Now you can make calls to OBS
|
||||
```python
|
||||
from obsstudio_sdk.reqs import ReqClient
|
||||
|
||||
Example: Toggle the mute state of your Mic input
|
||||
|
||||
```
|
||||
>>>cl.ToggleInputMute('Mic/Aux')
|
||||
>>>
|
||||
# pass conn info if not in config.toml
|
||||
cl = ReqClient('localhost', 4455, 'mystrongpass')
|
||||
|
||||
# Toggle the mute state of your Mic input
|
||||
cl.ToggleInputMute('Mic/Aux')
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user