ZegoPlayRecorder
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
ZEGO::LIVEROOM::ZegoMixStreamRecordConfig Struct Reference

#include <LiveRoom.h>

Public Member Functions

 ZegoMixStreamRecordConfig ()
 

Public Attributes

char szPathAndName [ZEGO_MAX_COMMON_LEN]
 
bool bGenerateMp3
 
MuxerStreamType nMuxerStreamType
 
int nFragmentSeconds
 
int nOutputFps
 
int nOutputBitrate
 
int nOutputWidth
 
int nOutputHeight
 
int nOutputAudioBitrate
 
ZegoStreamConfigpInputStream
 
int nInputStreamCount
 
int nOutputBackgroundColor
 
const char * pOutputBackgroundImage
 
ZegoTimestampConfigpTimestampConfig
 

Detailed Description

混流录制配置

Constructor & Destructor Documentation

ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::ZegoMixStreamRecordConfig ( )
inline

Member Data Documentation

bool ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::bGenerateMp3

录制MP4/FLV的同时是否录制MP3,混流录制MP4/FLV时有效

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nFragmentSeconds

录制文件分片间隔(0~10s),0表示不分片,大于0表示分片

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nInputStreamCount

录制输入流个数

MuxerStreamType ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nMuxerStreamType

录制流类型

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputAudioBitrate

录制输出音频码率

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputBackgroundColor

录制背景颜色,前三个字节为 RGB 颜色值,即 0xRRGGBBxx

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputBitrate

录制输出视频码率

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputFps

录制输出视频帧率

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputHeight

录制输出视频分辨率高

int ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::nOutputWidth

录制输出视频分辨率宽

ZegoStreamConfig* ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::pInputStream

录制输入流数组

const char* ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::pOutputBackgroundImage

录制背景图

ZegoTimestampConfig* ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::pTimestampConfig

录制时间戳配置

char ZEGO::LIVEROOM::ZegoMixStreamRecordConfig::szPathAndName[ZEGO_MAX_COMMON_LEN]

录制输出文件,为文件全路径(包括文件名),且必须以.mp3或者.mp4或者.flv结尾,SDK内部会自动创建对应路径,相同的文件会直接覆盖


The documentation for this struct was generated from the following file: