Update README.md

update readme to reflect recent changes
This commit is contained in:
onyx-and-iris 2022-01-11 17:19:51 +00:00
parent 5395b8873f
commit 794b09bcfd

View File

@ -124,6 +124,9 @@ $vmr.button[5].trigger = $true
``` ```
### VBAN ### VBAN
#### vmr.vban.enable
Toggle VBAN on or off. Accepts a boolean value.
For each vban in/out stream the following parameters are defined: For each vban in/out stream the following parameters are defined:
- on: boolean - on: boolean
- name: string - name: string
@ -140,18 +143,30 @@ to those parameters will throw an error. They are read and write for outstreams.
example: example:
```powershell ```powershell
$vmr.vban.enable = $true
$vmr.vban.instream[0].on = $true $vmr.vban.instream[0].on = $true
$vmr.vban.instream[2].port = 6990 $vmr.vban.instream[2].port = 6990
$vmr.vban.outstream[3].bit = 16 $vmr.vban.outstream[3].bit = 16
``` ```
### Special ### Special
Certain 'special' commands are defined by the API as performing actions rather than setting values. You may invoke them with the following commands: Certain 'special' commands are defined by the API as performing actions rather than setting values.
The following methods are available:
- show
- restart
- shutdown
The following properties are write only and accept boolean values:
- showvbanchat
- lock
example:
```powershell ```powershell
$vmr.command.show $vmr.command.show
$vmr.command.restart
$vmr.command.showvbanchat $vmr.command.lock = $true
$vmr.command.shutdown
``` ```
### Run tests ### Run tests