AliyunRecordSource

@protocol AliyunRecordSource <NSObject>

录制源协议 API_AVAILABLE(3.22.0)

  • 录制源的类型 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunRecordSourceType sourceType;
  • 录制源的媒体类型 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) AliyunRecordMediaType mediaType;
  • 是否正在采集 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    @property (nonatomic, readonly) BOOL isRunning;
  • API_AVAILABLE(3.22.0) 录制源准备 例如摄像头、麦克风做一些权限申请

    Declaration

    Objective-C

    - (BOOL)prepare;
  • 开始采集 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    - (void)start;
  • 停止采集 API_AVAILABLE(3.22.0)

    Declaration

    Objective-C

    - (void)stop;