diff options
author | Joe Rayhawk <jrayhawk@fairlystable.org> | 2022-11-23 23:02:23 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@fairlystable.org> | 2022-11-23 23:02:23 -0800 |
commit | 63e64a9c3600120933f7295d46c9ca66222cd497 (patch) | |
tree | 9f2177c84aa361f41dd04e3e8ac515031d00d08e /src | |
parent | 1fae0da24411a0520f605242f1f2010773a02c79 (diff) | |
download | crystal-obs-websocket-63e64a9c3600120933f7295d46c9ca66222cd497.tar.gz crystal-obs-websocket-63e64a9c3600120933f7295d46c9ca66222cd497.zip |
Fix bad send args on GetVideoSettings
Diffstat (limited to 'src')
-rw-r--r-- | src/obswebsocket.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/obswebsocket.cr b/src/obswebsocket.cr index 8c1061a..aea6eed 100644 --- a/src/obswebsocket.cr +++ b/src/obswebsocket.cr @@ -471,7 +471,7 @@ module OBS def initialize( @obs : OBS::WebSocket ) end def populate - d = @obs.send_sync( reschan, OBS.req( "GetVideoSettings" ) ) + d = @obs.send_sync( OBS.req( "GetVideoSettings" ) ) if ( rdata = d["responseData"]? ) @settings = Hash(String, String | Bool | Int64 | Float64 ).from_json(rdata.to_json) else |