houxiao
2017-08-14 fb7b92964274de80b86ae5a24b1e49b27719b0df
aaaaa

git-svn-id: http://192.168.1.226/svn/proxy@1008 454eff88-639b-444f-9e54-f578c98de674
1个文件已修改
6 ■■■■■ 已修改文件
RtspFace/PL_RTSPServer2.cpp 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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;