From b887fcbf86586bb661b16703201b818d600d9838 Mon Sep 17 00:00:00 2001 From: dijunkun Date: Wed, 11 Oct 2023 09:45:58 +0800 Subject: [PATCH] Fix ice status check error --- remote_desk_gui/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/remote_desk_gui/main.cpp b/remote_desk_gui/main.cpp index e6431d3..acf51b7 100644 --- a/remote_desk_gui/main.cpp +++ b/remote_desk_gui/main.cpp @@ -504,8 +504,6 @@ int main() { rect, 60, [](unsigned char *data, int size, int width, int height) -> void { - // std::cout << "Send" << std::endl; - auto now_time = std::chrono::high_resolution_clock::now(); std::chrono::duration duration = now_time - last_frame_time_; @@ -516,6 +514,7 @@ int main() { (unsigned char *)nv12_buffer_); SendData(peer_server, DATA_TYPE::VIDEO, (const char *)nv12_buffer_, NV12_BUFFER_SIZE); + // std::cout << "Send" << std::endl; last_frame_time_ = now_time; } });