Ignore:
Timestamp:
Nov 13, 2019 8:09:34 AM (11 months ago)
Author:
nanang
Message:

Close #1297:

  • Updated PJMEDIA endpoint to rearrange dynamic payload type allocation in generating SDP for audio, the allocation arranged in pjmedia_audio_pt enumeation is no longer used.
  • Updated PJMEDIA_RTP_PT_TELEPHONE_EVENTS default value to 120, so lower PT values will be used by audio codecs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r6005 r6105  
    845845 
    846846/** 
    847  * This macro declares the payload type for telephone-event 
     847 * This macro declares the start payload type for telephone-event 
    848848 * that is advertised by PJMEDIA for outgoing SDP. If this macro 
    849849 * is set to zero, telephone events would not be advertised nor 
    850850 * supported. 
    851  * 
    852  * If this value is changed to other number, please update the 
    853  * PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR too. 
    854851 */ 
    855852#ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS 
    856 #   define PJMEDIA_RTP_PT_TELEPHONE_EVENTS          96 
    857 #endif 
    858  
    859  
    860 /** 
    861  * Macro to get the string representation of the telephone-event 
    862  * payload type. 
    863  */ 
    864 #ifndef PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR 
    865 #   define PJMEDIA_RTP_PT_TELEPHONE_EVENTS_STR      "96" 
     853#   define PJMEDIA_RTP_PT_TELEPHONE_EVENTS          120 
    866854#endif 
    867855 
Note: See TracChangeset for help on using the changeset viewer.