Browse Source

默认启用jrtplib

huihui 5 năm trước cách đây
mục cha
commit
69a0d16b48
3 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. BIN
      bin32/ScreenSender.exe
  2. 1 1
      src/RtpSender/RtpSender.cpp
  3. 1 1
      src/RtpSender/RtpSender.h

BIN
bin32/ScreenSender.exe


+ 1 - 1
src/RtpSender/RtpSender.cpp

@@ -139,7 +139,7 @@ void RtpSender::sendAnNalu(T_NALU *n, uint32_t pts)
 void RtpSender::sendAAC(uint8_t * buffer, int len, uint32_t pts)
 {
 
-fprintf(stderr, "%s size=%d pts=%d\n", __FUNCTION__, len, pts);
+//fprintf(stderr, "%s size=%d pts=%d\n", __FUNCTION__, len, pts);
 
     bool isSucceed = false;
 

+ 1 - 1
src/RtpSender/RtpSender.h

@@ -10,7 +10,7 @@
 #include "rtp.h"
 #include "NALU/nalu.h"
 
-#define USE_JRTPLIB 0
+#define USE_JRTPLIB 1
 
 #if USE_JRTPLIB
     #include "rtpsession.h"