Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SDKConfigDef

SDK可配置项定义说明

Hierarchy

  • SDKConfigDef

Index

Properties

Optional address

address: string

服务的连接地址, 一般以 http(s):IP(或域名):PORT 形式填写, 不用加 /webrtc , /wx_webrtc 后缀.

Optional appKey

appKey: string

Optional reportLog

reportLog: boolean

是否上报日志, 默认开启

Optional token

token: string

连接服务进行校验的token

Optional transportPolicy

transportPolicy: RTCIceTransportPolicy

指定WebRTC传输协议 reference

Optional webSocketAuthType

webSocketAuthType: StompSocketAuthType

指定token校验方式

Optional webSocketOptions

webSocketOptions: PlatformStandardWebSocketOptions

WebSocket连接选项

Generated using TypeDoc