rtmp、rtc推拉流支持加密

This commit is contained in:
caleb
2026-04-07 16:35:04 +08:00
parent bc56b7851d
commit 88800334ec
19 changed files with 370 additions and 147 deletions

View File

@@ -27,6 +27,9 @@ NS_ASSUME_NONNULL_BEGIN
/// 视频编码器H.264/H.265
@property (nonatomic, assign) AVVideoCodec codec;
/// XOR 加密密钥(十六进制字符串,如 @"AABBCCDD"),为空则不加密
@property (nonatomic, copy, nullable) NSString *xorKey;
// ============ 工厂方法 ============
/// 创建默认配置