Comment history

Versions of a comment on [Self-hosted] Add TURN configuration for LiveKit WebRTC if using cloudflare tunnel, newest first.

Current version | Edited by Rex
Changes
Added: ```yamlport: 7880log_level: infortc: tcp_port: 7881 udp_port: 7882 port_range_start: 55153 port_range_end: 60000 use_external_ip: true stun_servers: - your.stunserver.com:3478 # I'm not actually using any Google stun servers. I'm using my own stun server - stun4.l.google.com:19302 - stun.cloudflare.com:3478 - stun.l.google.com:19302 - stun1.l.google.com:19302 turn_servers: - host: turn.domain.com # default turn port is 3478. can use 5349 port: 3478 # udp with 3478 or tls with 5349 protocol: udp # if you have credentials setup for the connection (I do) username: "turn_username" credential: "turn_password"webhook: api_key: fluxer urls: - http://api:8080/webhooks/livekitAdded: ```
Show
port: 7880
log_level: info

rtc:
  tcp_port: 7881
  udp_port: 7882
  port_range_start: 55153
  port_range_end: 60000
  use_external_ip: true
  stun_servers:
    - your.stunserver.com:3478
    # I'm not actually using any Google stun servers. I'm using my own stun server
    - stun4.l.google.com:19302
    - stun.cloudflare.com:3478
    - stun.l.google.com:19302
    - stun1.l.google.com:19302
  turn_servers:
    - host: turn.domain.com
      # default turn port is 3478. can use 5349
      port: 3478
      # udp with 3478 or tls with 5349
      protocol: udp
      # if you have credentials setup for the connection (I do)
      username: "turn_username"
      credential: "turn_password"

webhook:
  api_key: fluxer
  urls:
    - http://api:8080/webhooks/livekit
Original by Rex
Show
port: 7880 log_level: info rtc: tcp_port: 7881 udp_port: 7882 port_range_start: 55153 port_range_end: 60000 use_external_ip: true stun_servers:
  • your.stunserver.com:3478

I'm not actually using any Google stun servers. I'm using my own stun server

  • stun4.l.google.com:19302
  • stun.cloudflare.com:3478
  • stun.l.google.com:19302
  • stun1.l.google.com:19302
turn_servers:
  • host: turn.domain.com

default turn port is 3478. can use 5349

port: 3478

udp with 3478 or tls with 5349

protocol: udp

if you have credentials setup for the connection (I do)

username: "turn_username" credential: "turn_password" webhook: api_key: fluxer urls: