houxiao
2017-08-17 0250edfd9c4d453f25a2f9827698ccf87ff5afff
RtspFace/PL_RTSPServer.cpp
@@ -97,8 +97,17 @@
         return 0;
      }
      
      //static size_t f = 0;
      //static FILE *pFile = fopen("/data/bb.264", "wb");
      //fwrite(in.buffer, sizeof(char), in.buffSize, pFile);
      //if (++f > 400){
      //   fclose(pFile);
      //   exit(0);
      //}
      uint8_t* pBuffer = in.buffer;
      size_t newBufferSize = in.buffSize;
      if (in.config.payWithAux)
      {
         if (newBufferSize <= 4)