make Type arg optional, if not passed print current stream service settings.

this is a bugfix.
This commit is contained in:
2026-01-09 11:54:55 +00:00
parent 6e37c2c6c7
commit 3ffdf668ff
2 changed files with 15 additions and 13 deletions

View File

@@ -749,26 +749,28 @@ gobs-cli settings profile SimpleOutput VBitrate 6000
```
- stream-service: Get/Set stream service setting.
- args: Type
- flags:
- --key: Stream key.
- --server: Stream server URL.
*optional*
- args: Type
```console
gobs-cli settings stream-service
gobs-cli settings stream-service rtmp_common --key='live_xyzxyzxyzxyz'
gobs-cli settings stream-service --key='live_xyzxyzxyzxyz' rtmp_common
```
- video: Get/Set video setting.
- flags:
- --show: Show video settings.
- --base-width: Base (canvas) width.
- --base-height: Base (canvas) height.
- --output-width: Output (scaled) width.
- --output-height: Output (scaled) height.
- --fps-num: Frames per second numerator.
- --fps-den: Frames per second denominator.
- flags:
- --show: Show video settings.
- --base-width: Base (canvas) width.
- --base-height: Base (canvas) height.
- --output-width: Output (scaled) width.
- --output-height: Output (scaled) height.
- --fps-num: Frames per second numerator.
- --fps-den: Frames per second denominator.
```console
gobs-cli settings video --show