Interface IZegoMediaRecordCallback
-
public interface IZegoMediaRecordCallback
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)
录制信息更新回调
-
-
-
Method Detail
-
onRecordStatusUpdate
void onRecordStatusUpdate(ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath, long duration, long fileSize)
录制信息更新回调- Parameters:
channelIndex
- 录制通道storagePath
- 录制文件存储路径duration
- 录制时长,单位毫秒fileSize
- 文件大小,单位字节
-
onMediaRecord
void onMediaRecord(int errCode, ZegoMediaRecordChannelIndex channelIndex, java.lang.String storagePath)
媒体录制回调- Parameters:
errCode
- 详见ZegoMediaRecordErrorCode
定义channelIndex
- 录制通道storagePath
- 录制文件存储路径
-
-