mirror of
https://github.com/onyx-and-iris/obsws-python.git
synced 2024-11-22 12:50:53 +00:00
upd import in readme
This commit is contained in:
parent
0819149d09
commit
0819bb4342
@ -39,10 +39,10 @@ Otherwise:
|
|||||||
Example `__main__.py`
|
Example `__main__.py`
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from obsstudio_sdk.reqs import ReqClient
|
import obsstudio_sdk as obs
|
||||||
|
|
||||||
# pass conn info if not in config.toml
|
# pass conn info if not in config.toml
|
||||||
cl = ReqClient('localhost', 4455, 'mystrongpass')
|
cl = obs.ReqClient('localhost', 4455, 'mystrongpass')
|
||||||
|
|
||||||
# Toggle the mute state of your Mic input
|
# Toggle the mute state of your Mic input
|
||||||
cl.toggle_input_mute('Mic/Aux')
|
cl.toggle_input_mute('Mic/Aux')
|
||||||
|
Loading…
Reference in New Issue
Block a user