aaaaa
git-svn-id: http://192.168.1.226/svn/proxy@1008 454eff88-639b-444f-9e54-f578c98de674
| | |
| | | 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);
|
| | |
| | | framedSource->ppsBase64 = ppsStr;
|
| | |
|
| | | in->auxLineSet = true;
|
| | |
|
| | | LOG_INFO <<"sps:" << spsStr.size() << ", pps:" << ppsStr.size() << LOG_ENDL;
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | 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;
|