All files / src/services/connection ice-server.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 14 15 16 17 18 19 20 21 22                                           
/**
 * Interface representing an ICE (Interactive Connectivity Establishment) server configuration.
 * ICE servers facilitate establishing peer-to-peer connections by providing mechanisms
 * to overcome NAT traversal and firewall restrictions.
 */
export interface IceServer {
    /**
     * URL or array of URLs for the ICE server (STUN or TURN).
     */
    urls: string;
 
    /**
     * Optional username for authentication with the ICE server.
     */
    username?: string;
 
    /**
     * Optional credential for authentication with the ICE server.
     */
    credential?: string;
}