From 63e64a9c3600120933f7295d46c9ca66222cd497 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 23 Nov 2022 23:02:23 -0800 Subject: Fix bad send args on GetVideoSettings --- src/obswebsocket.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3