Ignore:
Timestamp:
Sep 14, 2012 4:06:29 AM (12 years ago)
Author:
nanang
Message:

Close #1568:

  • Added media change detection based on SDP negotiation result and local codec param settings, the detection result will decide whether the media should be re-initialized after the SDP negotiation.
  • Fixed stream to keep the duplicate of codec param for the stream info (was only copying the pointer).
  • Introduced macro PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO & PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c

    r4085 r4254  
    213213 
    214214/* Dump media session */ 
     215#if PJSUA_MEDIA_HAS_PJMEDIA || \ 
     216    (PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO && \ 
     217     PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT) 
     218 
    215219static void dump_media_session(const char *indent, 
    216220                               char *buf, unsigned maxlen, 
     
    859863} 
    860864 
     865#else   /* PJSUA_MEDIA_HAS_PJMEDIA || 
     866           (PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO && 
     867            PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT) */ 
     868 
     869static void dump_media_session(const char *indent, 
     870                               char *buf, unsigned maxlen, 
     871                               pjsua_call *call) 
     872{ 
     873    PJ_UNUSED_ARG(indent); 
     874    PJ_UNUSED_ARG(buf); 
     875    PJ_UNUSED_ARG(maxlen); 
     876    PJ_UNUSED_ARG(call); 
     877} 
     878 
     879#endif  /* PJSUA_MEDIA_HAS_PJMEDIA || 
     880           (PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO && 
     881            PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT) */ 
     882 
    861883 
    862884/* Print call info */ 
Note: See TracChangeset for help on using the changeset viewer.