ZegoLiveRoom
Public Member Functions | List of all members
ZEGO::MEDIA_RECORDER::IZegoMediaRecordCallback Class Referenceabstract

#include <zego-api-media-recorder.h>

Public Member Functions

virtual void OnMediaRecord (int errCode, ZegoMediaRecordChannelIndex channelIndex, const char *storagePath)=0
 
virtual void OnRecordStatusUpdate (const ZegoMediaRecordChannelIndex channelIndex, const char *storagePath, const unsigned int duration, const unsigned int fileSize)
 
virtual void OnRecordStatusUpdateWithQuality (const ZegoMediaRecordChannelIndex channelIndex, const char *storagePath, const unsigned int duration, const unsigned int fileSize, const AV::PublishQuality &quality)
 
virtual ~ IZegoMediaRecordCallback ()
 

Constructor & Destructor Documentation

◆ ~ IZegoMediaRecordCallback()

virtual ZEGO::MEDIA_RECORDER::IZegoMediaRecordCallback::~ IZegoMediaRecordCallback ( )
inlinevirtual

Member Function Documentation

◆ OnMediaRecord()

virtual void ZEGO::MEDIA_RECORDER::IZegoMediaRecordCallback::OnMediaRecord ( int  errCode,
ZegoMediaRecordChannelIndex  channelIndex,
const char *  storagePath 
)
pure virtual

媒体录制回调

Parameters
errCode错误码,详见 ZegoMediaRecordErrorCode 定义
channelIndex录制通道
storagePath录制文件存储路径

◆ OnRecordStatusUpdate()

virtual void ZEGO::MEDIA_RECORDER::IZegoMediaRecordCallback::OnRecordStatusUpdate ( const ZegoMediaRecordChannelIndex  channelIndex,
const char *  storagePath,
const unsigned int  duration,
const unsigned int  fileSize 
)
inlinevirtual

录制信息更新回调

Parameters
channelIndex录制通道
storagePath录制文件存储路径
duration录制时长,单位毫秒
fileSize文件大小,单位字节

◆ OnRecordStatusUpdateWithQuality()

virtual void ZEGO::MEDIA_RECORDER::IZegoMediaRecordCallback::OnRecordStatusUpdateWithQuality ( const ZegoMediaRecordChannelIndex  channelIndex,
const char *  storagePath,
const unsigned int  duration,
const unsigned int  fileSize,
const AV::PublishQuality quality 
)
inlinevirtual

录制信息更新回调

Parameters
channelIndex录制通道
storagePath录制文件存储路径
duration录制时长,单位毫秒
fileSize文件大小,单位字节
quality录制质量

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