rtmp、rtc推拉流支持加密
This commit is contained in:
@@ -38,6 +38,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, assign)SellyPlayerScalingMode scaleMode;
|
||||
//token
|
||||
@property (nonatomic, strong)NSString *token;
|
||||
/// XOR 解密密钥 (十六进制字符串, 如 @"ABCDEF12")
|
||||
/// 必须为偶数长度且仅包含 0-9, a-f, A-F,传入非法值将抛出 NSInvalidArgumentException 导致 App 崩溃。
|
||||
/// 传 nil 或空字符串表示不解密。
|
||||
@property (nonatomic, copy, nullable)NSString *xorKey;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
@@ -117,6 +117,10 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@property (nonatomic, assign)SellyLiveVideoConfiguration *videoConfig;
|
||||
//token
|
||||
@property (nonatomic, strong)NSString *token;
|
||||
/// XOR 加密密钥 (十六进制字符串, 如 @"ABCDEF12")
|
||||
/// 必须为偶数长度且仅包含 0-9, a-f, A-F,传入非法值将抛出 NSInvalidArgumentException 导致 App 崩溃。
|
||||
/// 传 nil 或空字符串表示不加密。
|
||||
@property (nonatomic, copy, nullable)NSString *xorKey;
|
||||
|
||||
/// 是否启用 Center Stage(人物居中),默认 NO
|
||||
/// 支持运行时动态切换,不支持的设备设置无效
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user