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

    Interface MediaServiceOptions

    Options for constructing a MediaService (the SFU server-side entry point).

    interface MediaServiceOptions {
        logger?: Logger;
        mediaCodecs?: RouterRtpCodecCapability[];
        webRtcTransport?: WebRtcTransportConfig;
        worker?: WorkerSettings;
    }
    Index

    Properties

    logger?: Logger

    Logger used across the service, worker pool, and routers. Defaults to a no-op logger.

    mediaCodecs?: RouterRtpCodecCapability[]

    Router media codecs. Defaults to DEFAULT_MEDIA_CODECS.

    webRtcTransport?: WebRtcTransportConfig

    WebRTC transport configuration shared by every router.

    mediasoup worker pool settings.