Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 2.58 KB

sip.js.inviteroptions.md

File metadata and controls

30 lines (22 loc) · 2.58 KB

Home > sip.js > InviterOptions

InviterOptions interface

Options for Inviter constructor.

Signature:

export interface InviterOptions extends SessionOptions 

Properties

Property Type Description
anonymous boolean If true, an anonymous call.
earlyMedia boolean If true, the first answer to the local offer is immediately utilized for media. Requires that the INVITE request MUST NOT fork. Has no effect if inviteWithoutSdp is true. Default is false.
extraHeaders Array<string> Array of extra headers added to the INVITE.
inviteWithoutSdp boolean If true, send INVITE without SDP. Default is false.
params {
fromDisplayName?: string;
fromTag?: string;
fromUri?: string | URI;
toDisplayName?: string;
toUri?: string | URI;
}
renderbody string
rendertype string
sessionDescriptionHandlerModifiers Array<SessionDescriptionHandlerModifier> Modifiers to pass to SessionDescriptionHandler during the initial INVITE transaction.
sessionDescriptionHandlerModifiersReInvite Array<SessionDescriptionHandlerModifier> Modifiers to pass to SessionDescriptionHandler during re-INVITE transactions.
sessionDescriptionHandlerOptions SessionDescriptionHandlerOptions Options to pass to SessionDescriptionHandler during the initial INVITE transaction.
sessionDescriptionHandlerOptionsReInvite SessionDescriptionHandlerOptions Options to pass to SessionDescriptionHandler during re-INVITE transactions.