Changeset 5657 for pjproject


Ignore:
Timestamp:
Sep 25, 2017 2:18:57 AM (22 months ago)
Author:
ming
Message:

Re #1994 (misc): Add check in our sample alt_pjsua_aud when stopping stream (similar to alt_pjsua_vid).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/3rdparty_media_sample/alt_pjsua_aud.c

    r4793 r5657  
    256256{ 
    257257    /* Detach our RTP/RTCP callbacks from transport */ 
    258     pjmedia_transport_detach(call_med->tp, call_med); 
     258    if (call_med->tp) { 
     259        pjmedia_transport_detach(call_med->tp, call_med); 
     260    } 
    259261 
    260262    /* TODO: destroy your audio stream here */ 
Note: See TracChangeset for help on using the changeset viewer.