Changeset 5968
- Timestamp:
- Apr 15, 2019 2:53:52 AM (6 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r5845 r5968 2050 2050 2051 2051 /* Check if now is the time to transmit RTCP SR/RR report. 2052 * We only do this when stream direction is "decoding only", 2052 * We only do this when stream direction is "decoding only" or 2053 * if the encoder is paused, 2053 2054 * because otherwise check_tx_rtcp() will be handled by put_frame() 2054 2055 */ 2055 if (stream->dir == PJMEDIA_DIR_DECODING ) {2056 if (stream->dir == PJMEDIA_DIR_DECODING || stream->enc->paused) { 2056 2057 check_tx_rtcp(stream, pj_ntohl(hdr->ts)); 2057 2058 } -
pjproject/trunk/pjmedia/src/pjmedia/vid_stream.c
r5960 r5968 817 817 818 818 /* 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, 820 821 * because otherwise check_tx_rtcp() will be handled by put_frame() 821 822 */ 822 if (stream->dir == PJMEDIA_DIR_DECODING ) {823 if (stream->dir == PJMEDIA_DIR_DECODING || stream->enc->paused) { 823 824 check_tx_rtcp(stream, pj_ntohl(hdr->ts)); 824 825 }
Note: See TracChangeset
for help on using the changeset viewer.