RTCForge API Reference v1.1.1
    Preparing search index...

    Interface IceServerConfig

    A WebRTC ICE server entry, shaped to match the browser RTCIceServer dictionary. Returned by SignalingServerOptions.iceServersHook and forwarded to the joining peer in its room-joined message.

    interface IceServerConfig {
        credential?: string;
        urls: string | string[];
        username?: string;
    }
    Index

    Properties

    credential?: string

    TURN credential/password paired with IceServerConfig.username.

    urls: string | string[]

    One or more STUN/TURN URLs, e.g. "stun:stun.l.google.com:19302".

    username?: string

    TURN username, when the server requires credentials.