DSVideoFrameListener
The DSVideoFrameListener
protocol includes methods for monitoring the camera state.
Definition
Assembly: DynamsoftCore.xcframework
- Objective-C
- Swift
@protocol DSVideoFrameListener <NSObject>
protocol VideoFrameListener : NSObjectProtocol
Methods
Method | Description |
---|---|
onFrameOutPut |
The method for monitoring the output of video frames. |
onFrameOutPut
The method for monitoring the output of video frames.
- Objective-C
- Swift
- (void)onFrameOutPut:(DSImageData*)frame timeStamp:(NSTimeInterval)timeStamp;
func onFrameOutPut(_ frame: DSImageData, timeStamp: NSTimeInterval)
Parameters
frame
: The output video frame in an DSImageData
object.
timeStamp
: The time stamp that the video frame is output.