From 9c27d982f7f095fd8c018866655d1506ebdbd5a1 Mon Sep 17 00:00:00 2001 From: xufuji456 <839789740@qq.com> Date: Sun, 8 Aug 2021 16:51:33 +0800 Subject: [PATCH] remove debug log --- Live/src/main/cpp/PushInterface.h | 2 -- Live/src/main/cpp/VideoStream.cpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/Live/src/main/cpp/PushInterface.h b/Live/src/main/cpp/PushInterface.h index 903a646..9058608 100644 --- a/Live/src/main/cpp/PushInterface.h +++ b/Live/src/main/cpp/PushInterface.h @@ -9,6 +9,4 @@ #define DELETE(obj) if(obj){ delete obj; obj = 0; } -#define DEBUG 0 - #endif diff --git a/Live/src/main/cpp/VideoStream.cpp b/Live/src/main/cpp/VideoStream.cpp index f60b6d9..4c0d560 100644 --- a/Live/src/main/cpp/VideoStream.cpp +++ b/Live/src/main/cpp/VideoStream.cpp @@ -206,9 +206,6 @@ void VideoStream::sendFrame(int type, uint8_t *payload, int i_payload) { packet->m_body[0] = 0x27; if (type == NAL_SLICE_IDR) { packet->m_body[0] = 0x17; - if (DEBUG) { - LOGI("IDR key frame"); - } } //packet type packet->m_body[1] = 0x01;