Changeset 5969 for pjproject/trunk/pjsip/src/pjsua2/call.cpp
- Timestamp:
- Apr 15, 2019 10:52:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/call.cpp
r5923 r5969 228 228 } 229 229 230 CallSetting::CallSetting( pj_bool_tuseDefaultValues)230 CallSetting::CallSetting(bool useDefaultValues) 231 231 { 232 232 if (useDefaultValues) { … … 522 522 } 523 523 524 AudioMedia Call::getAudioMedia(unsigned med_idx) const throw(Error) 525 { 526 CallAudioMedia cam; 527 CallInfo ci = getInfo(); 528 529 if (med_idx < ci.media.size() && 530 ci.media[med_idx].type == PJMEDIA_TYPE_AUDIO) 531 { 532 cam.setPortId(ci.media[med_idx].audioConfSlot); 533 } 534 return cam; 535 } 536 524 537 pjsip_dialog_cap_status Call::remoteHasCap(int htype, 525 538 const string &hname,
Note: See TracChangeset
for help on using the changeset viewer.