Ignore:
Timestamp:
Nov 21, 2018 8:39:45 AM (6 years ago)
Author:
nanang
Message:

Misc (re #2147): pjmedia_transport_media_stop() should not be called before pjmedia_stream_destroy(), otherwise RTCP BYE, DTMF 'End' flag, etc cannot be sent (thanks Lauri Vänskä for the report).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/samples/streamutil.c

    r5908 r5910  
    832832 
    833833        tp = pjmedia_stream_get_transport(stream); 
    834         pjmedia_transport_media_stop(tp); 
    835834        pjmedia_stream_destroy(stream); 
    836835         
     836        pjmedia_transport_media_stop(tp); 
    837837        pjmedia_transport_close(tp); 
    838838    } 
Note: See TracChangeset for help on using the changeset viewer.