ChuangRemoteDataRecordDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ChuangLiveEngine.h |
– onRemoteDataRecordStateUpdate:errorCode:config:streamId:
required method
远端录制的状态更新回调,当录制过程状态变化时触发。
- (void)onRemoteDataRecordStateUpdate:(ChuangDataRecordState)state errorCode:(int)errorCode config:(ChuangDataRecordConfig *)config streamId:(NSString *)streamId
Parameters
state |
文件录制状态 |
---|---|
errorCode |
错误码 |
config |
录制配置对象 |
streamId |
远端流ID |
Declared In
ChuangLiveEngine.h
– onRemoteDataRecordProgressUpdate:config:streamId:
required method
录制进度更新回调
- (void)onRemoteDataRecordProgressUpdate:(ChuangDataRecordProgress *)progress config:(ChuangDataRecordConfig *)config streamId:(NSString *)streamId
Parameters
progress |
文件录制过程进度,开发者可以此对用户界面进行 UI 的提示等。 |
---|---|
config |
录制配置对象 |
streamId |
远端流ID |
Declared In
ChuangLiveEngine.h