All files / src/models/infrasctructure call-method-name.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13                         
/**
 * Defines the allowed method names for WebRTC signaling calls.
 * These methods represent the different stages and operations in the WebRTC connection process.
 *
 * - 'update': Updates peer information in the signaling server
 * - 'dial': Initiates a connection request to a peer
 * - 'offer': Sends a WebRTC SDP offer during connection negotiation
 * - 'answer': Responds to an offer with a WebRTC SDP answer
 * - 'ice': Exchanges ICE candidates for network connectivity
 * - 'close': Terminates an existing connection
 */
export type CallMethodName = 'update' | 'dial' | 'offer' | 'answer' | 'ice' | 'close';