Skip to content

MediaBridge Configuration

The MediaBridge is configured via mediabridge/mediabridge-config.yaml.

Full reference

yaml
webrtcPort: 10443
controlApiPort: 9090
sipPort: 5060
audioWsPort: 9091
publicIp: 127.0.0.1

audio:
  ringbackCadence: eu      # "eu" or "us"
  opusMaxBitrate: 32000    # Opus max bitrate in bps
  sipCodec: g711_ulaw      # "g711_ulaw" or "opus"

logging:
  level: info              # debug / info / warn / error
  format: json             # "json" or "text"

Settings

SettingDefaultDescription
webrtcPort10443TCP port for client WebRTC connections. Must be publicly accessible.
controlApiPort9090HTTP port for the ControlAPI. Internal use only.
sipPort5060SIP port for provider audio. Must be reachable by your provider.
audioWsPort9091WebSocket port for hardware audio streams.
publicIp127.0.0.1The IP included in ICE candidates sent to clients. Set this to your server's public IP.
audio.ringbackCadenceeuThe ringback tone pattern played to callers while ringing.
audio.opusMaxBitrate32000Maximum bitrate for Opus codec negotiation.
audio.sipCodecg711_ulawCodec used on the SIP leg with providers.
logging.levelinfoMinimum log level.
logging.formatjsonLog output format. Use text for development.

Released under the AGPL-3.0 License.