Implementation for openh264 codec

This commit is contained in:
dijunkun
2023-11-03 02:31:57 -07:00
parent 3399d43501
commit a64655dec9
4 changed files with 13 additions and 27 deletions

View File

@@ -591,8 +591,7 @@ int main() {
if (tc >= 0) {
SendData(peer_server, DATA_TYPE::VIDEO,
(const char *)nv12_buffer, NV12_BUFFER_SIZE);
std::cout << "Send" << std::endl;
(const char *)data, NV12_BUFFER_SIZE);
last_frame_time_ = now_time;
}
});