pjsua_call_flag class abstract
Flags to be given to various call APIs. More than one flags may be specified by bitmasking them.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- PJSUA_CALL_INCLUDE_DISABLED_MEDIA → const int
- Include SDP "m=" line with port set to zero for each disabled media (i.e when aud_cnt or vid_cnt is set to zero). This flag is only valid for #pjsua_call_make_call(), #pjsua_call_reinvite(), and #pjsua_call_update(). Note that even this flag is applicable in #pjsua_call_reinvite() and #pjsua_call_update(), it will only take effect when the re-INVITE/UPDATE operation regenerates SDP offer, such as changing audio or video count in the call setting.
- PJSUA_CALL_NO_SDP_OFFER → const int
- 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_REINIT_MEDIA → const int
- Deinitialize and recreate media, including media transport. This flag is useful in IP address change situation, if the media transport address (or address family) changes, for example during IPv4/IPv6 network handover. This flag is only valid for #pjsua_call_reinvite()/reinvite2(), or #pjsua_call_update()/update2().
- PJSUA_CALL_SET_MEDIA_DIR → const int
- Set media direction as specified in pjsua_call_setting.media_dir.
- PJSUA_CALL_UNHOLD → const int
- When the call is being put on hold, specify this flag to unhold it. This flag is only valid for #pjsua_call_reinvite() and #pjsua_call_update(). Note: for compatibility reason, this flag must have value of 1 because previously the unhold option is specified as boolean value.
- PJSUA_CALL_UPDATE_CONTACT → const int
- Update the local invite session's contact with the contact URI from the account. This flag is only valid for #pjsua_call_set_hold2(), #pjsua_call_reinvite() and #pjsua_call_update(). This flag is useful in IP address change situation, after the local account's Contact has been updated (typically with re-registration) use this flag to update the invite session with the new Contact and to inform this new Contact to the remote peer with the outgoing re-INVITE or UPDATE.
- PJSUA_CALL_UPDATE_TARGET → const int
- Update dialog target to URI specified in pjsua_msg_data.target_uri. This flag is only valid for pjsua_call_set_hold(), pjsua_call_reinvite(), and pjsua_call_update(). This flag can be useful in IP address change scenario where IP version has been changed and application needs to update target IP address.
- PJSUA_CALL_UPDATE_VIA → const int
- Update the local invite session's Via with the via address from the account. This flag is only valid for #pjsua_call_set_hold2(), #pjsua_call_reinvite() and #pjsua_call_update(). Similar to the flag PJSUA_CALL_UPDATE_CONTACT above, this flag is useful in IP address change situation, after the local account's Via has been updated (typically with re-registration).