Class AVCaptureVideoDataOutput

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class AVCaptureVideoDataOutput
extends AVCaptureOutput
  • Constructor Details

    • AVCaptureVideoDataOutput

      protected AVCaptureVideoDataOutput​(NSObject.Handle h, long handle)
    • AVCaptureVideoDataOutput

      protected AVCaptureVideoDataOutput​(NSObject.SkipInit skipInit)
    • AVCaptureVideoDataOutput

      public AVCaptureVideoDataOutput()
  • Method Details

    • getVideoSettings

      public AVVideoSettings getVideoSettings()
    • setVideoSettings

      public void setVideoSettings​(AVVideoSettings videoSettings)
    • getPixelBufferSettings

      public AVPixelBufferAttributes getPixelBufferSettings()
    • setPixelBufferSettings

      public void setPixelBufferSettings​(AVPixelBufferAttributes videoSettings)
    • getSampleBufferDelegate

      public AVCaptureVideoDataOutputSampleBufferDelegate getSampleBufferDelegate()
    • getSampleBufferCallbackQueue

      public DispatchQueue getSampleBufferCallbackQueue()
    • getVideoSettings0

      protected NSDictionary<NSString,​?> getVideoSettings0()
    • setVideoSettings0

      protected void setVideoSettings0​(NSDictionary<NSString,​?> v)
    • getAvailableVideoCVPixelFormatTypes

      public List<CVPixelFormatType> getAvailableVideoCVPixelFormatTypes()
    • getAvailableVideoCodecTypes

      public List<CMVideoCodecType> getAvailableVideoCodecTypes()
    • alwaysDiscardsLateVideoFrames

      public boolean alwaysDiscardsLateVideoFrames()
    • setAlwaysDiscardsLateVideoFrames

      public void setAlwaysDiscardsLateVideoFrames​(boolean v)
    • automaticallyConfiguresOutputBufferDimensions

      public boolean automaticallyConfiguresOutputBufferDimensions()
      Since:
      Available in iOS 13.0 and later.
    • setAutomaticallyConfiguresOutputBufferDimensions

      public void setAutomaticallyConfiguresOutputBufferDimensions​(boolean v)
      Since:
      Available in iOS 13.0 and later.
    • isDeliversPreviewSizedOutputBuffers

      public boolean isDeliversPreviewSizedOutputBuffers()
      Since:
      Available in iOS 13.0 and later.
    • setDeliversPreviewSizedOutputBuffers

      public void setDeliversPreviewSizedOutputBuffers​(boolean v)
      Since:
      Available in iOS 13.0 and later.
    • getRecommendedVideoSettings

      public AVVideoSettings getRecommendedVideoSettings​(String outputFileType)
      Since:
      Available in iOS 7.0 and later.
    • getRecommendedPixelBufferSettings

      public AVPixelBufferAttributes getRecommendedPixelBufferSettings​(String outputFileType)
      Since:
      Available in iOS 7.0 and later.
    • setSampleBufferDelegate

      public void setSampleBufferDelegate​(AVCaptureVideoDataOutputSampleBufferDelegate sampleBufferDelegate, DispatchQueue sampleBufferCallbackQueue)
    • getRecommendedVideoSettings0

      protected NSDictionary<NSString,​?> getRecommendedVideoSettings0​(String outputFileType)
    • getAvailableVideoCodecTypes

      public NSArray<NSString> getAvailableVideoCodecTypes​(String outputFileType)
      Since:
      Available in iOS 11.0 and later.
    • getRecommendedVideoSettings

      public NSDictionary<NSString,​?> getRecommendedVideoSettings​(AVVideoCodecType videoCodecType, String outputFileType)
      Since:
      Available in iOS 11.0 and later.
    • create

      protected static long create()