[fix] fix audio command sending

This commit is contained in:
dijunkun
2025-04-14 17:33:35 +08:00
parent f891a047d6
commit b906bfcafd

View File

@@ -101,7 +101,7 @@ int Render::ControlBar(std::shared_ptr<SubStreamWindowProperties>& properties) {
RemoteAction remote_action; RemoteAction remote_action;
remote_action.type = ControlType::audio_capture; remote_action.type = ControlType::audio_capture;
remote_action.a = properties->audio_capture_button_pressed_; remote_action.a = properties->audio_capture_button_pressed_;
SendDataFrame(peer_, (const char*)&remote_action, SendDataFrame(properties->peer_, (const char*)&remote_action,
sizeof(remote_action)); sizeof(remote_action));
} }
} }