public final class ZegoMixStreamRecordConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
fragmentSeconds
m3u8格式取值范围(2~60s),其他格式取值范围(0~10s),0表示不分片,大于0表示分片,默认为2s
|
boolean |
generateMP3
录制MP4/FLV的同时是否录制MP3,混流录制MP4/FLV时有效
|
ZegoImageWaterMarkConfig |
imageWaterMarkConfig
图片水印配置
|
java.util.List<ZegoStreamConfig> |
inputStreams
录制输入流数组
|
int |
muxerStreamType
录制流类型,
ZegoMuxerStreamType |
int |
outputAudioBitrate
录制输出音频码率
|
int |
outputBackgroundColor
录制背景颜色,前三个字节为 RGB 颜色值,即 0xRRGGBBxx
|
java.lang.String |
outputBackgroundImage
录制背景图
|
int |
outputBitrate
录制输出视频码率
|
int |
outputFPS
录制输出视频帧率
|
int |
outputHeight
录制输出视频分辨率高
|
int |
outputWidth
录制输出视频分辨率宽
|
java.lang.String |
pathAndName
录制输出文件,为文件全路径(包括文件名),且必须以.mp3/.mp4/.flv/.m3u8结尾,SDK内部会自动创建对应路径,相同的文件会直接覆盖
|
boolean |
recordSoundLevel
是否录制声浪信息
|
int |
streamLayerType
输入流的视频分层类型,
ZegoVideoStreamLayerType |
ZegoTimestampConfig |
timestampConfig
录制时间戳配置
|
boolean |
videoAudioSeparateFile
音频视频文件分开录制, 设置为true时,设置为true时,在
IZegoStreamRecordCallback.onRecordFilePath(java.lang.String, java.lang.String, int, long, long) 回调中分别回调音视频文件路径 |
Constructor and Description |
---|
ZegoMixStreamRecordConfig() |
public java.lang.String pathAndName
public boolean generateMP3
public int muxerStreamType
ZegoMuxerStreamType
public int fragmentSeconds
public int outputFPS
public int outputBitrate
public int outputWidth
public int outputHeight
public int outputAudioBitrate
public java.util.List<ZegoStreamConfig> inputStreams
public int outputBackgroundColor
public java.lang.String outputBackgroundImage
public ZegoTimestampConfig timestampConfig
public ZegoImageWaterMarkConfig imageWaterMarkConfig
public boolean videoAudioSeparateFile
IZegoStreamRecordCallback.onRecordFilePath(java.lang.String, java.lang.String, int, long, long)
回调中分别回调音视频文件路径public int streamLayerType
ZegoVideoStreamLayerType
public boolean recordSoundLevel