Ignore:
Timestamp:
Feb 18, 2016 3:15:19 AM (9 years ago)
Author:
riza
Message:

Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to enable/disable DTMF flash as specified in rfc2833.

File:
1 edited

Legend:

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

    r5239 r5242  
    15671567 
    15681568    /* Ignore unknown event. */ 
     1569#if defined(PJMEDIA_HAS_DTMF_FLASH) && PJMEDIA_HAS_DTMF_FLASH!= 0 
    15691570    if (event->event > 16) { 
     1571#else 
     1572    if (event->event > 15) { 
     1573#endif     
    15701574        PJ_LOG(5,(stream->port.info.name.ptr, 
    15711575                  "Ignored RTP pkt with bad DTMF event %d", 
     
    27872791                pt = 11; 
    27882792            } 
     2793#if defined(PJMEDIA_HAS_DTMF_FLASH) && PJMEDIA_HAS_DTMF_FLASH!= 0            
    27892794            else if (dig == 'r') 
    27902795            { 
    27912796                pt = 16; 
    27922797            } 
     2798#endif 
    27932799            else 
    27942800            { 
Note: See TracChangeset for help on using the changeset viewer.