Skip to content

Eyevinn/docker-wrtc-sfu

Repository files navigation

docker-wrtc-sfu

Docker container of Symphony Media Bridge that can be used as SFU in a WebRTC based broadcast streaming solution.

Example docker-compose file:

version: "3.7"

services:
  sfu:
    image: eyevinntechnology/wrtc-sfu:latest
    restart: always
    network_mode: "host"
    cap_add:
      - SYS_NICE
    ulimits:
      rtprio: 99
    environment:
      - HTTP_PORT=8180
      - UDP_PORT=10000
      - API_KEY=<api-key>
    logging:
      driver: "local"
      options:
        max-size: 10m

Configuration

Default configuraiton can be changed by setting these environment variables:

  • HTTP_PORT
  • HTTP_BIND_PORT : when running two containers on the same host in host network mode you can override the default port that the SMB service binds the HTTP API to.
  • UDP_PORT
  • NUM_UDP_PORTS
  • LOG_LEVEL
  • LOG_STD_OUT
  • TCP_ENABLE
  • IPV4_ADDR (no quotes)
  • API_KEY : Override default api-key to access endpoint (eyevinn).