声明
@interface ACSIceServer : NSObject;
Description
描述 ICE 服务器
Methods
初始化
使用默认配置创建新实例。
-(instancetype)init;
属性
网址
ICE 服务器的 URL
@property (copy, nonnull) NSArray<NSString *> * urls;
realm
ICE 服务器的领域
@property (retain, nonnull) NSString * realm;
tcp端口
ICE 服务器的 TCP 端口
@property int tcpPort;
udp端口
用于 ICE 服务器的 UDP 端口
@property int udpPort;
用户名
如果服务器需要凭据信息,则 ICE 服务器的用户名
@property (retain, nonnull) NSString * username;
密码
如果服务器需要凭据信息,则为 ICE 服务器的密码
@property (retain, nonnull) NSString * password;