Resource Base
Table of contents

DSVideoFrameListener

The DSVideoFrameListener protocol includes methods for monitoring the camera state.

Definition

Assembly: DynamsoftCore.xcframework

  • Objective-C
  • Swift
  1. @protocol DSVideoFrameListener <NSObject>
    
  2. 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
  1. - (void)onFrameOutPut:(DSImageData*)frame
            timeStamp:(NSTimeInterval)timeStamp;
    
  2. 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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: