Ignore:
Timestamp:
Jan 28, 2020 2:42:42 AM (5 years ago)
Author:
nanang
Message:

Misc (re #2210): Get rid of annoying persistent log lines due to video conference connection between active capturer and stopped/hidden renderer (thanks to Dmytrii Gonchar for the feedback).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-videodev/sdl_dev.c

    r6125 r6138  
    926926    stream->last_ts.u64 = frame->timestamp.u64; 
    927927 
     928    /* Video conference just trying to send heart beat for updating timestamp 
     929     * or keep-alive, this port doesn't need any, just ignore. 
     930     */ 
     931    if (frame->size==0 || frame->buf==NULL) 
     932        return PJ_SUCCESS; 
     933 
     934    if (frame->size < stream->vafp.framebytes) 
     935        return PJ_ETOOSMALL; 
     936 
    928937    if (!stream->is_running) 
    929938        return PJ_EINVALIDOP; 
    930  
    931     if (frame->size==0 || frame->buf==NULL || 
    932         frame->size < stream->vafp.framebytes) 
    933         return PJ_SUCCESS; 
    934939 
    935940    stream->frame = frame; 
Note: See TracChangeset for help on using the changeset viewer.