ZegoMixStreamOutput Class Reference
Inherits from | NSObject |
---|---|
Declared in | zego-api-mix-stream-defines-oc.h |
target
isUrl 参数为 YES 时,则此值为 Url;否则为流名。
@property (nonatomic, copy) NSString *target
Declared In
zego-api-mix-stream-defines-oc.h
isUrl
输出流是否为 URL
@property (nonatomic, assign) BOOL isUrl
Declared In
zego-api-mix-stream-defines-oc.h
videoCodec
输出流视频编码格式
@property (nonatomic, assign) int videoCodec
Discussion
- 可选值:0 - H.264编码,3 - H.265编码,默认0
Declared In
zego-api-mix-stream-defines-oc.h
videoBitrate
输出流视频码率
@property (nonatomic, assign) int videoBitrate
Discussion
- 输出码率控制模式参数设置为CBR恒定码率时,此设置值生效
- 该参数若被设置,会覆盖外层的nOutputBitrate值
- 视频码率值范围:(0M,10M],此参数单位是 bps,1M = 1 * 1000 * 1000 bps
Declared In
zego-api-mix-stream-defines-oc.h
encodeProfile
输出流视频编码规格
@property (nonatomic, assign) ZegoAPIEncodeProfile encodeProfile
Discussion
- 默认是 ZEGOAPI_ENCODE_PROFILE_MAIN
- 详见 ZegoAPIEncodeProfile 定义
Declared In
zego-api-mix-stream-defines-oc.h
encodeLatency
输出流编码延时,有效值范围 [0,2000],单位毫秒,默认值为 0
@property (nonatomic, assign) int encodeLatency
Declared In
zego-api-mix-stream-defines-oc.h