houxiao
2017-08-14 fb7b92964274de80b86ae5a24b1e49b27719b0df
RtspFace/PL_RTSPServer2.cpp
@@ -213,7 +213,7 @@
   qcfg.fullQueueDropFront = true;
   qcfg.fullQueueSync = false;
   qcfg.count = 32;
   qcfg.maxBuffSize = 100000;
   qcfg.maxBuffSize = 200000;
   in->frameQueue = new PreAllocBufferQueue(qcfg);
   int ret = pthread_create(&(in->live_daemon_thid), NULL, live_daemon_thd, in);
@@ -258,6 +258,8 @@
         framedSource->ppsBase64 = ppsStr;
         in->auxLineSet = true;
         LOG_INFO <<"sps:" << spsStr.size() << ", pps:" << ppsStr.size() << LOG_ENDL;
      }
   }
@@ -281,7 +283,7 @@
      return false;
   }
   memcpy(qbuff->buffer, frame->buffer, frame->buffSize);
   memcpy(qbuff->buffer, frame->buffer, frame->buffSize);//#todo size min
   qbuff->buffSize = frame->buffSize;
   //static size_t f = 0;