|
|
@ -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; |
|
|
|