- Timestamp:
- Mar 15, 2007 9:56:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjmedia/include/pjmedia/sdp_neg.h
r974 r1071 355 355 356 356 /** 357 * This specifies the behavior of the SDP negotiator when responding to an 358 * offer, whether it should rather use the codec preference as set by 359 * remote, or should it rather use the codec preference as specified by 360 * local endpoint. 361 * 362 * For example, suppose incoming call has codec order "8 0 3", while 363 * local codec order is "3 0 8". If remote codec order is preferable, 364 * the selected codec will be 8, while if local codec order is preferable, 365 * the selected codec will be 3. 366 * 367 * By default, the value in PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER will 368 * be used. 369 * 370 * @param neg The SDP negotiator instance. 371 * @param prefer_remote If non-zero, the negotiator will use the codec 372 * order as specified in remote offer. If zero, it 373 * will prefer to use the local codec order. 374 */ 375 PJ_DECL(pj_status_t) 376 pjmedia_sdp_neg_set_prefer_remote_codec_order(pjmedia_sdp_neg *neg, 377 pj_bool_t prefer_remote); 378 379 380 /** 357 381 * Get SDP negotiator state. 358 382 *
Note: See TracChangeset
for help on using the changeset viewer.