AliyunRecordControllerCustomSourceHandler
@protocol AliyunRecordControllerCustomSourceHandler <NSObject>
* The callback of custom handler record data API_AVAILABLE(3.22.0)
-
* API_AVAILABLE(3.22.0) The callback of data stream from capture can be used for facial recognition.
Declaration
Objective-C
- (void)onAliyunRecordController:(id<AliyunRecordController>)controller customHandleVideo:(CMSampleBufferRef)buffer withDisplayMatrix:(CATransform3D)transform;
-
* API_AVAILABLE(3.22.0) The callback of data stream from capture can be used for voice recognition.
Declaration
Objective-C
- (void)onAliyunRecordController:(id<AliyunRecordController>)controller customHandleAudioBuffer:(CMSampleBufferRef)buffer;