summaryrefslogtreecommitdiff
path: root/pjsip/include/pjsua-lib/pjsua.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjsip/include/pjsua-lib/pjsua.h')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h
index 0787d416..3fa41a8f 100644
--- a/pjsip/include/pjsua-lib/pjsua.h
+++ b/pjsip/include/pjsua-lib/pjsua.h
@@ -870,7 +870,9 @@ typedef struct pjsua_callback
/**
* Notify application when call has received new offer from remote
- * (i.e. re-INVITE/UPDATE with SDP is received). Application can
+ * (i.e. re-INVITE/UPDATE with SDP is received, or from the
+ * INVITE response in the case that the initial outgoing INVITE
+ * has no SDP). Application can
* decide to accept/reject the offer by setting the code (default
* is 200). If the offer is accepted, application can update the
* call setting to be applied in the answer. When this callback is
@@ -4105,7 +4107,15 @@ typedef enum pjsua_call_flag
* (i.e when aud_cnt or vid_cnt is set to zero). This flag is only valid
* for #pjsua_call_make_call().
*/
- PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4
+ PJSUA_CALL_INCLUDE_DISABLED_MEDIA = 4,
+
+ /**
+ * Do not send SDP when sending INVITE or UPDATE. This flag is only valid
+ * for #pjsua_call_make_call(), #pjsua_call_reinvite()/reinvite2(), or
+ * #pjsua_call_update()/update2(). For re-invite/update, specifying
+ * PJSUA_CALL_UNHOLD will take precedence over this flag.
+ */
+ PJSUA_CALL_NO_SDP_OFFER = 8
} pjsua_call_flag;