mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2025-01-31 07:10:50 +00:00
Update README.md
update to readme
This commit is contained in:
parent
83429e17ad
commit
1217dea6b4
18
README.md
18
README.md
@ -1,5 +1,7 @@
|
|||||||
# VBAN CMD
|
# VBAN CMD
|
||||||
This package offers a Python interface for the [Voicemeeter RT Packet Service](https://vb-audio.com/Voicemeeter/VBANProtocol_Specifications.pdf).
|
This package offers a Python interface for the [Voicemeeter RT Packet Service](https://vb-audio.com/Voicemeeter/VBANProtocol_Specifications.pdf). It allows a client to connect to a Voicemeeter installation on a remote machine
|
||||||
|
so long as a valid connection can be established between both systems, and VBAN is configured correctly.
|
||||||
|
In similar fashion to the Remote API you can set and get parameters for strips/buses.
|
||||||
|
|
||||||
Tested against
|
Tested against
|
||||||
- Basic 1.0.8.1
|
- Basic 1.0.8.1
|
||||||
@ -26,6 +28,18 @@ With development dependencies:
|
|||||||
pip install -e .['development']
|
pip install -e .['development']
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Connection:
|
||||||
|
For sending a text request (remote set) several configuration options are available:
|
||||||
|
- `ip`: remote address
|
||||||
|
- `streamname`: default 'Command1'
|
||||||
|
- `port`: default 6990
|
||||||
|
- `bps`: bitrate of stream, default 0 should be safe for most cases.
|
||||||
|
|
||||||
|
pass these values as arguments to vban_cmd.connect() as show in the example below.
|
||||||
|
|
||||||
|
Regarding fetching data (remote get), the code registers itself to the RT Packet Service every 10 seconds,
|
||||||
|
with a timeout of 15 seconds (same as streamer view app).
|
||||||
|
|
||||||
#### Use with a context manager:
|
#### Use with a context manager:
|
||||||
Unlike the Remote API the VBAN RT Packet service has no login limitations since receiving data requires
|
Unlike the Remote API the VBAN RT Packet service has no login limitations since receiving data requires
|
||||||
a client to simply register to the service. It is therefore advised to use this code only with a context manager.
|
a client to simply register to the service. It is therefore advised to use this code only with a context manager.
|
||||||
@ -121,7 +135,7 @@ The following properties are gettable and settable:
|
|||||||
|
|
||||||
### `VbanCmd` (lower level)
|
### `VbanCmd` (lower level)
|
||||||
#### `vban.public_packet`
|
#### `vban.public_packet`
|
||||||
Fetches a new RT Data Packet (some values will still be in byte form)
|
Fetches an RT Data Packet (some values will still be in byte form).
|
||||||
|
|
||||||
#### `vban.set_rt(id_, param, val)`
|
#### `vban.set_rt(id_, param, val)`
|
||||||
Sends a string request RT Packet where the command would take the form:
|
Sends a string request RT Packet where the command would take the form:
|
||||||
|
Loading…
Reference in New Issue
Block a user