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