Ignore:
Timestamp:
Nov 3, 2010 6:46:27 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1154 (Run-time option to disable telephone-event in outgoing SDP offer (thanks Marcus Froeschl for the suggestion))

File:
1 edited

Legend:

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

    r2506 r3360  
    4343 
    4444PJ_BEGIN_DECL 
     45 
     46/** 
     47 * This enumeration describes various flags that can be set or retrieved in 
     48 * the media endpoint, by using pjmedia_endpt_set_flag() and 
     49 * pjmedia_endpt_get_flag() respectively. 
     50 */ 
     51typedef enum pjmedia_endpt_flag 
     52{ 
     53    /** 
     54     * This flag controls whether telephony-event should be offered in SDP. 
     55     * Value is boolean. 
     56     */ 
     57    PJMEDIA_ENDPT_HAS_TELEPHONE_EVENT_FLAG 
     58 
     59} pjmedia_endpt_flag; 
    4560 
    4661 
     
    7489PJ_DECL(pj_status_t) pjmedia_endpt_destroy(pjmedia_endpt *endpt); 
    7590 
    76  
     91/** 
     92 * Change the value of a flag. 
     93 * 
     94 * @param endpt         Media endpoint. 
     95 * @param flag          The flag. 
     96 * @param value         Pointer to the value to be set. 
     97 * 
     98 * @reurn               PJ_SUCCESS on success. 
     99 */ 
     100PJ_DECL(pj_status_t) pjmedia_endpt_set_flag(pjmedia_endpt *endpt, 
     101                                            pjmedia_endpt_flag flag, 
     102                                            const void *value); 
     103 
     104/** 
     105 *  Retrieve the value of a flag. 
     106 * 
     107 *  @param endpt        Media endpoint. 
     108 *  @param flag         The flag. 
     109 *  @param value        Pointer to store the result. 
     110 * 
     111 *  @return             PJ_SUCCESS on success. 
     112 */ 
     113PJ_DECL(pj_status_t) pjmedia_endpt_get_flag(pjmedia_endpt *endpt, 
     114                                            pjmedia_endpt_flag flag, 
     115                                            void *value); 
    77116 
    78117/** 
Note: See TracChangeset for help on using the changeset viewer.