diff --git a/Connector_RTMP/main.cpp b/Connector_RTMP/main.cpp index c83c45de..717e1eeb 100644 --- a/Connector_RTMP/main.cpp +++ b/Connector_RTMP/main.cpp @@ -131,6 +131,9 @@ int main(){ FLVbuffer[6] = ftst % 256; } SendMedia((unsigned char)FLVbuffer[0], (unsigned char *)FLVbuffer+11, FLV_len-15, ts); + #ifdef DEBUG + fprintf(stderr, "Sent a tag.\n"); + #endif FLV_Dump();//dump packet and get ready for next } if ((SWBerr != SWBaseSocket::ok) && (SWBerr != SWBaseSocket::notReady)){