Changeset 5434 for pjproject


Ignore:
Timestamp:
Aug 30, 2016 12:45:19 AM (8 years ago)
Author:
ming
Message:

Fixed #1958: Update RTP sequence number during keep-alive

Location:
pjproject/trunk/pjmedia/src/pjmedia
Files:
2 edited

Legend:

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

    r5242 r5434  
    441441    /* Send RTCP */ 
    442442    send_rtcp(stream, PJ_TRUE, PJ_FALSE, PJ_FALSE); 
     443     
     444    /* Update stats in case the stream is paused */ 
     445    stream->rtcp.stat.rtp_tx_last_seq = pj_ntohs(stream->enc->rtp.out_hdr.seq); 
    443446 
    444447#elif PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_USER 
  • pjproject/trunk/pjmedia/src/pjmedia/vid_stream.c

    r5411 r5434  
    445445    send_rtcp(stream, PJ_TRUE, PJ_FALSE); 
    446446 
     447    /* Update stats in case the stream is paused */ 
     448    stream->rtcp.stat.rtp_tx_last_seq = pj_ntohs(stream->enc->rtp.out_hdr.seq); 
     449 
    447450#elif PJMEDIA_STREAM_ENABLE_KA == PJMEDIA_STREAM_KA_USER 
    448451 
Note: See TracChangeset for help on using the changeset viewer.