remove debug log

dev
xufuji456 3 years ago
parent 10618041aa
commit 9c27d982f7
  1. 2
      Live/src/main/cpp/PushInterface.h
  2. 3
      Live/src/main/cpp/VideoStream.cpp

@ -9,6 +9,4 @@
#define DELETE(obj) if(obj){ delete obj; obj = 0; } #define DELETE(obj) if(obj){ delete obj; obj = 0; }
#define DEBUG 0
#endif #endif

@ -206,9 +206,6 @@ void VideoStream::sendFrame(int type, uint8_t *payload, int i_payload) {
packet->m_body[0] = 0x27; packet->m_body[0] = 0x27;
if (type == NAL_SLICE_IDR) { if (type == NAL_SLICE_IDR) {
packet->m_body[0] = 0x17; packet->m_body[0] = 0x17;
if (DEBUG) {
LOGI("IDR key frame");
}
} }
//packet type //packet type
packet->m_body[1] = 0x01; packet->m_body[1] = 0x01;

Loading…
Cancel
Save