Skip to content

Commit

Permalink
Merge pull request #1500 from stream-labs/fix_canvas_test
Browse files Browse the repository at this point in the history
fix canvas set call
  • Loading branch information
summeroff authored Jan 16, 2025
2 parents 2f30c24 + 1ab29b6 commit d8f2593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion obs-studio-client/source/streaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void osn::Streaming::SetCanvas(const Napi::CallbackInfo &info, const Napi::Value
if (!conn)
return;

conn->call(className, "SetVideoContext", {ipc::value(this->uid), ipc::value(canvas->canvasId)});
conn->call(className, "SetVideoCanvas", {ipc::value(this->uid), ipc::value(canvas->canvasId)});
}
Napi::Value osn::Streaming::GetVideoEncoder(const Napi::CallbackInfo &info)
{
Expand Down

0 comments on commit d8f2593

Please sign in to comment.