Interface IZegoMediaRecordCallback2
-
- All Known Implementing Classes:
ZegoMediaRecorder
public interface IZegoMediaRecordCallback2
Copyright © 2018 Zego. All rights reserved.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onMediaRecord(int errCode, ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath)
媒体录制回调void
onRecordStatusUpdate(ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath, long duration, long fileSize, ZegoPublishStreamQuality quality)
录制信息更新回调 注意:如果录制时在推流,quality数据与推流质量数据一致,建议录制回调时间间隔和推流质量回调时间间隔设置成一样
-
-
-
Method Detail
-
onRecordStatusUpdate
void onRecordStatusUpdate(ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath, long duration, long fileSize, ZegoPublishStreamQuality quality)
录制信息更新回调 注意:如果录制时在推流,quality数据与推流质量数据一致,建议录制回调时间间隔和推流质量回调时间间隔设置成一样- Parameters:
channelIndex
- 录制通道storagePath
- 录制文件存储路径duration
- 录制时长,单位毫秒fileSize
- 文件大小,单位字节quality
- 录制质量
-
onMediaRecord
void onMediaRecord(int errCode, ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath)
媒体录制回调- Parameters:
errCode
- 详见ZegoMediaRecordErrorCode
定义channelIndex
- 录制通道storagePath
- 录制文件存储路径
-
-