SessionState
Extended session interface that adds call management and authentication state on top of the narrow ClientSession contract.
Accessible via client.session. Call and CallFactory continue to depend
only on the narrow ClientSession interface.
Extends
ClientSession
Properties
authenticated
Current authentication state. Returns true if the session is currently authenticated.
authenticated$
Observable that emits true once the session has been authenticated, and false after disconnect.
calls
Current snapshot of all active calls. See Call.
calls$
Observable stream of all currently active calls (both inbound and outbound). See Call.
incomingCalls
Current snapshot of active inbound calls. See Call.
incomingCalls$
Observable stream of currently active inbound calls. Filters calls$ to only include calls with direction === 'inbound'. See Call.
Inherited from ClientSession
iceServers
ICE servers configuration for WebRTC peer connections Used by VertoManager to configure RTCPeerConnection. See RTCIceServer.
signalingEvent$
Observable stream of incoming signaling events Used by Call to listen for call-related events from the server
Methods
execute()
Execute an RPC request through the session transport
Type Parameters
Parameters
request
The JSON-RPC request to execute. See JSONRPCRequest.
options
Optional RPC execution options (timeout, etc.) See PendingRPCOptions.
Returns
Promise<T>
Promise resolving to the RPC response
Inherited from
ClientSession.execute