Changeset 5641 for pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
- Timestamp:
- Aug 16, 2017 4:53:44 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_inv.h
r5435 r5641 98 98 99 99 /** 100 * Structure to hold parameters when calling the callback 101 * #on_rx_offer2(). 102 */ 103 struct pjsip_inv_on_rx_offer_cb_param 104 { 105 const pjmedia_sdp_session *offer; /** Remote offer. */ 106 const pjsip_rx_data *rdata; /** The received request. */ 107 }; 108 109 110 /** 100 111 * This structure contains callbacks to be registered by application to 101 112 * receieve notifications from the framework about various events in … … 155 166 * will be sent with the SIP message. 156 167 * 168 * Note: if callback #on_rx_offer2() is implemented, this callback will 169 * not be called. 170 * 157 171 * @param inv The invite session. 158 172 * @param offer Remote offer. 159 173 */ 160 174 void (*on_rx_offer)(pjsip_inv_session *inv, 161 const pjmedia_sdp_session *offer); 175 const pjmedia_sdp_session *offer); 176 177 /** 178 * This callback is called when the invite session has received 179 * new offer from peer. Variant of #on_rx_offer() callback. 180 * 181 * @param inv The invite session. 182 * @param param The callback parameters. 183 */ 184 void (*on_rx_offer2)(pjsip_inv_session *inv, 185 struct pjsip_inv_on_rx_offer_cb_param *param); 162 186 163 187 /**
Note: See TracChangeset
for help on using the changeset viewer.