Ignore:
Timestamp:
Aug 1, 2013 4:18:15 AM (11 years ago)
Author:
ming
Message:

Closed #1692: Allow multiple codecs in SDP answer
By default, the setting is disabled, to change it during run-time, use the function pjmedia_sdp_neg_set_allow_multiple_codecs().

File:
1 edited

Legend:

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

    r4562 r4577  
    417417                                              pj_bool_t prefer_remote); 
    418418 
     419/** 
     420 * This specifies the behavior of the SDP negotiator when responding to an 
     421 * offer, whether it should answer with multiple formats or not. 
     422 * 
     423 * By default, the value in PJMEDIA_SDP_NEG_ANSWER_MULTIPLE_CODECS will 
     424 * be used. 
     425 * 
     426 * @param neg           The SDP negotiator instance. 
     427 * @param answer_multiple 
     428 *                      If non-zero, the negotiator will respond with 
     429 *                      multiple formats. If zero only a single format 
     430 *                      will be returned. 
     431 */ 
     432PJ_DECL(pj_status_t) 
     433pjmedia_sdp_neg_set_answer_multiple_codecs(pjmedia_sdp_neg *neg, 
     434                                           pj_bool_t answer_multiple); 
     435 
    419436 
    420437/** 
Note: See TracChangeset for help on using the changeset viewer.