Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ServerConfig

服务器配置,可设置置网关(gateway)、信令(signal)、日志(log)服务器地址 注:

  1. gateway 和 signal 须二选一进行设置
  2. 没有日志服务器时,log 可不设

Hierarchy

  • ServerConfig

Index

Properties

Properties

Optional gateway

gateway: string

网关地址,如 'https://my-rtc.com.cn'

Optional log

log: string

日志服务器地址,如 'https://log.my-rtc.com.cn'

Optional signal

signal: string

信令服务器地址,如 'wss://my-rtc.com.cn:5005'

Generated using TypeDoc