1.ImGUI display success; 2.To do: fix x264 encode green screen

This commit is contained in:
dijunkun
2023-11-02 02:34:14 -07:00
parent 9be5d90a69
commit 6e19e53603
6 changed files with 42 additions and 25 deletions

View File

@@ -592,11 +592,10 @@ int main() {
if (tc >= 0) {
SendData(peer_server, DATA_TYPE::VIDEO,
(const char *)nv12_buffer, NV12_BUFFER_SIZE);
// std::cout << "Send" << std::endl;
std::cout << "Send" << std::endl;
last_frame_time_ = now_time;
}
});
screen_capture->Start();
#endif
} else {