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/darwin_dev.m

    r6124 r6138  
    13311331    struct darwin_stream *stream = (struct darwin_stream*)strm; 
    13321332 
     1333    /* Video conference just trying to send heart beat for updating timestamp 
     1334     * or keep-alive, this port doesn't need any, just ignore. 
     1335     */ 
     1336    if (frame->size==0 || frame->buf==NULL) 
     1337        return PJ_SUCCESS; 
     1338         
    13331339    if (stream->frame_size >= frame->size) 
    13341340        pj_memcpy(stream->render_buf, frame->buf, frame->size); 
Note: See TracChangeset for help on using the changeset viewer.