Ignore:
Timestamp:
Apr 15, 2019 2:53:52 AM (6 years ago)
Author:
ming
Message:

Fixed #2188: RTCP RR not generated if stream's encoder channel is paused

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/vid_stream.c

    r5960 r5968  
    817817 
    818818    /* Check if now is the time to transmit RTCP SR/RR report. 
    819      * We only do this when stream direction is "decoding only",  
     819     * We only do this when stream direction is "decoding only" or 
     820     * if the encoder is paused, 
    820821     * because otherwise check_tx_rtcp() will be handled by put_frame() 
    821822     */ 
    822     if (stream->dir == PJMEDIA_DIR_DECODING) { 
     823    if (stream->dir == PJMEDIA_DIR_DECODING || stream->enc->paused) { 
    823824        check_tx_rtcp(stream, pj_ntohl(hdr->ts)); 
    824825    } 
Note: See TracChangeset for help on using the changeset viewer.