From b906bfcafd0bbec8bfbf60db9fbeb308a5d1f97a Mon Sep 17 00:00:00 2001 From: dijunkun Date: Mon, 14 Apr 2025 17:33:35 +0800 Subject: [PATCH] [fix] fix audio command sending --- src/single_window/control_bar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/single_window/control_bar.cpp b/src/single_window/control_bar.cpp index b37a753..9424467 100644 --- a/src/single_window/control_bar.cpp +++ b/src/single_window/control_bar.cpp @@ -101,7 +101,7 @@ int Render::ControlBar(std::shared_ptr& properties) { RemoteAction remote_action; remote_action.type = ControlType::audio_capture; remote_action.a = properties->audio_capture_button_pressed_; - SendDataFrame(peer_, (const char*)&remote_action, + SendDataFrame(properties->peer_, (const char*)&remote_action, sizeof(remote_action)); } }