import { RtpCodecCapability , TransportListenIp , WorkerLogTag , } from "mediasoup/lib/types" ; export const config = { httpIp : "0.0.0.0" , httpPort : 3000 , httpPeerStale : 360000 , mediasoup : { worker : { rtcMinPort : 40000 , rtcMaxPort : 49999 , logLevel : "debug" , logTags : [ "info" , "ice" , "dtls" , "rtp" , "srtp" , "rtcp" , ] as WorkerLogTag [ ] , } , router : { mediaCodecs : [ { kind : "audio" , mimeType : "audio/opus" , clockRate : 48000 , channels : 2 , } , ] as RtpCodecCapability [ ] , } , webRtcTransport : { listenIps : [ { ip : process . env . WEBRTC_LISTEN_IP || "192.168.1.165" , announcedIp : process . env . A_IP || undefined , } , ] as TransportListenIp [ ] , initialAvailableOutgoingBitrate : 800000 , } , } , } as const ;