Changeset 5185 for pjproject/trunk/pjsip/include/pjsua2/call.hpp
- Timestamp:
- Oct 2, 2015 2:08:17 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/call.hpp
r5165 r5185 852 852 853 853 /** 854 * This structure contains parameters for Call::onCallTxOffer() callback. 855 */ 856 struct OnCallTxOfferParam 857 { 858 /** 859 * The current call setting, application can update this setting for 860 * generating the offer. Note that application should maintain any 861 * active media to avoid the need for the peer to reject the offer. 862 */ 863 CallSetting opt; 864 }; 865 866 /** 854 867 * This structure contains parameters for Call::onCallRedirected() callback. 855 868 */ … … 1601 1614 */ 1602 1615 virtual void onCallRxOffer(OnCallRxOfferParam &prm) 1616 { PJ_UNUSED_ARG(prm); } 1617 1618 /** 1619 * Notify application when call has received INVITE with no SDP offer. 1620 * Application can update the call setting (e.g: add audio/video), or 1621 * enable/disable codecs, or update other media session settings from 1622 * within the callback, however, as mandated by the standard (RFC3261 1623 * section 14.2), it must ensure that the update overlaps with the 1624 * existing media session (in codecs, transports, or other parameters) 1625 * that require support from the peer, this is to avoid the need for 1626 * the peer to reject the offer. 1627 * 1628 * When this callback is not implemented, the default behavior is to send 1629 * SDP offer using current active media session (with all enabled codecs 1630 * on each media type). 1631 * 1632 * @param prm Callback parameter. 1633 */ 1634 virtual void onCallTxOffer(OnCallTxOfferParam &prm) 1603 1635 { PJ_UNUSED_ARG(prm); } 1604 1636
Note: See TracChangeset
for help on using the changeset viewer.