JRTCSDK-iOS v2302.0
视频客服 API 文档
载入中...
搜索中...
未找到
属性 | 所有成员列表
JRTCClientLoginParam类 参考

登录参数 更多...

#import <JRTCClientLoginParam.h>

属性

NSString * terminalType
 
bool autoCreateAccount
 
NSString * deviceId
 
NSString * token
 
NSString * tokenType
 
NSString * tokenExtraParam
 
NSString * certificate
 
bool acceptExpiredCertificate
 
NSString * accountEntry
 
NSString * logFilter
 
NSString * accelerateKey
 
NSString * accelerateKeySecret
 
bool optimizeDataRouter
 

详细描述

登录参数

属性说明

◆ accelerateKey

- (NSString*) accelerateKey
readwritenonatomiccopy

加速云KEY

◆ accelerateKeySecret

- (NSString*) accelerateKeySecret
readwritenonatomiccopy

加速云KEY密钥

注解
accelerateKey为空不生效

◆ acceptExpiredCertificate

- (bool) acceptExpiredCertificate
readwritenonatomicassign

是否允许过期证书校验通过

◆ accountEntry

- (NSString*) accountEntry
readwritenonatomiccopy

帐户分录, 如果支持国密S3则需要设置 certificate 参数,否则可以不设置 certificate 参数

◆ autoCreateAccount

- (bool) autoCreateAccount
readwritenonatomicassign

是否自动创建账号(免鉴权使用),默认 true

◆ certificate

- (NSString*) certificate
readwritenonatomiccopy

S3 国密证书Base64编码内容

◆ deviceId

- (NSString*) deviceId
readwritenonatomiccopy

设备ID

◆ logFilter

- (NSString*) logFilter
readwritenonatomiccopy

日志过滤标签(用于日志管理平台过滤终端日志使用)

◆ optimizeDataRouter

- (bool) optimizeDataRouter
readwritenonatomicassign

是否开启数据路由优化, 默认true

◆ terminalType

- (NSString*) terminalType
readwritenonatomiccopy

终端登录类型,支持多终端登录,默认所有终端相同会导致互踢

◆ token

- (NSString*) token
readwritenonatomiccopy

token

◆ tokenExtraParam

- (NSString*) tokenExtraParam
readwritenonatomiccopy

token 校验拓展参数,json字符串

注解
token为空不生效

◆ tokenType

- (NSString*) tokenType
readwritenonatomiccopy

token 校验类型

注解
token为空不生效