Interface IZegoMediaRecordCallback


  • public interface IZegoMediaRecordCallback
    Copyright © 2018 Zego. All rights reserved.
    • 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 - 录制文件存储路径