emtec-ecu

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2022 License: MIT

README

emtec-ecu

overview

使い方

server を常駐させて利用する方法と emtectl 単体で動かす方法と 2 通り存在するため、そのそれぞれについて説明します。

コマンドの引数について詳しく知りたい場合は <コマンド名> -h で確認してください。

server 常駐方式

上記の図における emtec-ecu がここで言う server に当たります。

サーバは以下のコマンドで起動します。

# TODO (#2)

emtectl コマンドの引数に上記サーバのアドレスを与えることで、 server を経由して OBS Studio に対して任意の操作が可能です。

$ emtectl -d 127.0.0.1:20080 scene list --track-id 1
> [ 2] シーン 1
  [ 1] シーン 2
  [ 0] シーン 3
emtectl 単体で利用する方法

emtectl コマンドの引数に --directly , --obs-host , --obs-password をそれぞれ指定することで、 emtectl から直接 OBS Websocket に対してリクエストすることも可能です。

なお、現在 wss (WebSocket over TLS) には対応していないためご注意ください。

$ emtectl --directly --obs-host 127.0.0.1:4455 --obs-password hogefuga scene list --track-id 1
> [ 2] シーン 1
  [ 1] シーン 2
  [ 0] シーン 3

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL