- Timestamp:
- Dec 4, 2013 3:01:20 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/pjsua2/pjsip/include/pjsua2/call.hpp
r4670 r4672 27 27 #include <pjsua2/media.hpp> 28 28 29 /** PJSUA2 API is inside pj namespace */ 30 namespace pj 31 { 32 29 33 /** 30 34 * @defgroup PJSUA2_CALL Call … … 33 37 34 38 /** 35 * @defgroup PJSUA2_Call_Data_Structure Data Structure36 * @ingroup PJSUA2_ Ref39 * @defgroup PJSUA2_Call_Data_Structure Call Related Types 40 * @ingroup PJSUA2_DS 37 41 * @{ 38 42 */ 39 43 40 /** PJSUA2 API is inside pj namespace */41 namespace pj42 {43 44 using std::string; 44 45 using std::vector; … … 308 309 { 309 310 /** 310 * Bitmask of #pjsua_call_flag constants.311 * Bitmask of pjsua_call_flag constants. 311 312 * 312 313 * Default: PJSUA_CALL_INCLUDE_DISABLED_MEDIA … … 316 317 /** 317 318 * This flag controls what methods to request keyframe are allowed on 318 * the call. Value is bitmask of #pjsua_vid_req_keyframe_method.319 * the call. Value is bitmask of pjsua_vid_req_keyframe_method. 319 320 * 320 321 * Default: PJSUA_VID_REQ_KEYFRAME_SIP_INFO | … … 622 623 623 624 /** 624 * This structure contains parameters for onCallState() callback.625 * This structure contains parameters for Call::onCallState() callback. 625 626 */ 626 627 struct OnCallStateParam … … 633 634 634 635 /** 635 * This structure contains parameters for onCallTsxState() callback.636 * This structure contains parameters for Call::onCallTsxState() callback. 636 637 */ 637 638 struct OnCallTsxStateParam … … 644 645 645 646 /** 646 * This structure contains parameters for onCallMediaState() callback.647 * This structure contains parameters for Call::onCallMediaState() callback. 647 648 */ 648 649 struct OnCallMediaStateParam … … 651 652 652 653 /** 653 * This structure contains parameters for onCallSdpCreated() callback.654 * This structure contains parameters for Call::onCallSdpCreated() callback. 654 655 */ 655 656 struct OnCallSdpCreatedParam … … 667 668 668 669 /** 669 * This structure contains parameters for onStreamCreated() callback. 670 * This structure contains parameters for Call::onStreamCreated() 671 * callback. 670 672 */ 671 673 struct OnStreamCreatedParam … … 690 692 691 693 /** 692 * This structure contains parameters for onStreamDestroyed() callback. 694 * This structure contains parameters for Call::onStreamDestroyed() 695 * callback. 693 696 */ 694 697 struct OnStreamDestroyedParam … … 706 709 707 710 /** 708 * This structure contains parameters for onDtmfDigit() callback. 711 * This structure contains parameters for Call::onDtmfDigit() 712 * callback. 709 713 */ 710 714 struct OnDtmfDigitParam … … 717 721 718 722 /** 719 * This structure contains parameters for onCallTransferRequest() callback. 723 * This structure contains parameters for Call::onCallTransferRequest() 724 * callback. 720 725 */ 721 726 struct OnCallTransferRequestParam … … 740 745 741 746 /** 742 * This structure contains parameters for onCallTransferStatus() callback. 747 * This structure contains parameters for Call::onCallTransferStatus() 748 * callback. 743 749 */ 744 750 struct OnCallTransferStatusParam … … 769 775 770 776 /** 771 * This structure contains parameters for onCallReplaceRequest() callback. 777 * This structure contains parameters for Call::onCallReplaceRequest() 778 * callback. 772 779 */ 773 780 struct OnCallReplaceRequestParam … … 797 804 798 805 /** 799 * This structure contains parameters for onCallReplaced() callback.806 * This structure contains parameters for Call::onCallReplaced() callback. 800 807 */ 801 808 struct OnCallReplacedParam … … 808 815 809 816 /** 810 * This structure contains parameters for onCallRxOffer() callback.817 * This structure contains parameters for Call::onCallRxOffer() callback. 811 818 */ 812 819 struct OnCallRxOfferParam … … 831 838 }; 832 839 840 /** 841 * This structure contains parameters for Call::onCallRedirected() callback. 842 */ 833 843 struct OnCallRedirectedParam 834 844 { … … 843 853 * received for the INVITE sent to subsequent targets, or empty 844 854 * (e.type == PJSIP_EVENT_UNKNOWN) 845 * if this callback is called from within #Call::processRedirect()855 * if this callback is called from within Call::processRedirect() 846 856 * context. 847 857 */ … … 850 860 851 861 /** 852 * This structure contains parameters for onCallMediaEvent() callback.862 * This structure contains parameters for Call::onCallMediaEvent() callback. 853 863 */ 854 864 struct OnCallMediaEventParam … … 866 876 867 877 /** 868 * This structure contains parameters for onCallMediaTransportState() callback. 878 * This structure contains parameters for Call::onCallMediaTransportState() 879 * callback. 869 880 */ 870 881 struct OnCallMediaTransportStateParam … … 892 903 893 904 /** 894 * This structure contains parameters for onCreateMediaTransport() callback. 905 * This structure contains parameters for Call::onCreateMediaTransport() 906 * callback. 895 907 */ 896 908 struct OnCreateMediaTransportParam … … 1093 1105 * Get media for the specified media index. 1094 1106 * 1095 * @p saram med_idxMedia index.1107 * @param med_idx Media index. 1096 1108 * 1097 1109 * @return The media or NULL if invalid or inactive. … … 1118 1130 * @return PJSIP_DIALOG_CAP_SUPPORTED if the specified 1119 1131 * capability is explicitly supported, see 1120 * @pjsip_dialog_cap_status for more info.1132 * pjsip_dialog_cap_status for more info. 1121 1133 */ 1122 1134 pjsip_dialog_cap_status remoteHasCap(int htype, … … 1126 1138 /** 1127 1139 * Attach application specific data to the call. Application can then 1128 * inspect this data by calling #Call::getUserData().1140 * inspect this data by calling getUserData(). 1129 1141 * 1130 1142 * @param user_data Arbitrary data to be attached to the call. … … 1134 1146 /** 1135 1147 * Get user data attached to the call, which has been previously set with 1136 * #Call::setUserData().1148 * setUserData(). 1137 1149 * 1138 1150 * @return The user data. … … 1143 1155 * Get the NAT type of remote's endpoint. This is a proprietary feature 1144 1156 * of PJSUA-LIB which sends its NAT type in the SDP when \a natTypeInSdp 1145 * is set in #UaConfig.1157 * is set in UaConfig. 1146 1158 * 1147 1159 * This function can only be called after SDP has been received from remote, … … 1180 1192 * - if no call setting is supplied when SDP has to be sent, i.e: answer 1181 1193 * with status code 183 or 2xx, the default call setting will be used, 1182 * check #CallSetting for its default values.1194 * check CallSetting for its default values. 1183 1195 * 1184 1196 * @param prm.opt Optional call setting. 1185 * @param prm.statusCode 1186 * Status code, (100-699). 1197 * @param prm.statusCode Status code, (100-699). 1187 1198 * @param prm.reason Optional reason phrase. If empty, default text 1188 1199 * will be used. … … 1197 1208 * Hangup call by using method that is appropriate according to the 1198 1209 * call state. This function is different than answering the call with 1199 * 3xx-6xx response (with #Call::answer()), in that this function1210 * 3xx-6xx response (with answer()), in that this function 1200 1211 * will hangup the call regardless of the state and role of the call, 1201 * while #Call::answer() only works with incoming calls on EARLY1212 * while answer() only works with incoming calls on EARLY 1202 1213 * state. 1203 1214 * … … 1395 1406 * 1396 1407 * @param op The video stream operation to be performed, 1397 * possible values are #pjsua_call_vid_strm_op.1408 * possible values are pjsua_call_vid_strm_op. 1398 1409 * @param param The parameters for the video stream operation 1399 * (see #CallVidSetStreamParam).1410 * (see CallVidSetStreamParam). 1400 1411 */ 1401 1412 void vidSetStream(pjsua_call_vid_strm_op op, … … 1447 1458 * Notify application when call state has changed. 1448 1459 * Application may then query the call info to get the 1449 * detail call states by calling Call::getInfo() function.1460 * detail call states by calling getInfo() function. 1450 1461 * 1451 1462 * @param prm Callback parameter. … … 1639 1650 * no decision can be made immediately (for example 1640 1651 * to request confirmation from user). Application 1641 * then MUST call #Call::processRedirect()1652 * then MUST call processRedirect() 1642 1653 * to either accept or reject the redirection upon 1643 1654 * getting user decision. … … 1693 1704 }; 1694 1705 1706 /** 1707 * @} // PJSUA2_CALL 1708 */ 1709 1695 1710 } // namespace pj 1696 1711 1697 /**1698 * @} // PJSUA2_CALL1699 */1700 1701 1712 #endif /* __PJSUA2_CALL_HPP__ */ 1702 1713
Note: See TracChangeset
for help on using the changeset viewer.