Fixesheids
This commit is contained in:
parent
59e2f66238
commit
ef99414220
1 changed files with 6 additions and 4 deletions
|
@ -254,10 +254,12 @@ int mainHandler(int CONN_fd){
|
||||||
if (handler == HANDLER_FLASH){
|
if (handler == HANDLER_FLASH){
|
||||||
if(tag->data[0] != 0x12 ) {
|
if(tag->data[0] != 0x12 ) {
|
||||||
if (tag->isKeyframe){
|
if (tag->isKeyframe){
|
||||||
Flash_FragBuffer.push(FlashBuf);
|
if (FlashBuf != ""){
|
||||||
#if DEBUG >= 4
|
Flash_FragBuffer.push(FlashBuf);
|
||||||
fprintf(stderr, "Received a fragment. Now %i in buffer.\n", (int)Flash_FragBuffer.size());
|
#if DEBUG >= 4
|
||||||
#endif
|
fprintf(stderr, "Received a fragment. Now %i in buffer.\n", (int)Flash_FragBuffer.size());
|
||||||
|
#endif
|
||||||
|
}
|
||||||
FlashBuf = "";
|
FlashBuf = "";
|
||||||
}
|
}
|
||||||
FlashBuf.append(tag->data,tag->len);
|
FlashBuf.append(tag->data,tag->len);
|
||||||
|
|
Loading…
Add table
Reference in a new issue