VKRecorderVideoDelegate
public protocol VKRecorderVideoDelegate : AnyObject
Video delegate, provides updates on video related recording and capture functionality. All methods are called on the main queue with the exception of vkRecorder:renderToCustomContextWithSampleBuffer:onQueue.
-
vkRecorder(_:
Default implementationdidUpdateVideoZoomFactor: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didUpdateVideoZoomFactor videoZoomFactor: Float)
-
vkRecorder(_:
Default implementationwillProcessRawVideoSampleBuffer: onQueue: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, willProcessRawVideoSampleBuffer sampleBuffer: CMSampleBuffer, onQueue queue: DispatchQueue)
-
vkRecorder(_:
Default implementationrenderToCustomContextWithImageBuffer: onQueue: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, renderToCustomContextWithImageBuffer imageBuffer: CVPixelBuffer, onQueue queue: DispatchQueue)
-
vkRecorder(_:
Default implementationwillProcessFrame: pixelBuffer: timestamp: onQueue: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, willProcessFrame frame: AnyObject, pixelBuffer: CVPixelBuffer, timestamp: TimeInterval, onQueue queue: DispatchQueue)
-
vkRecorder(_:
Default implementationdidSetupVideoInSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didSetupVideoInSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidSetupAudioInSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didSetupAudioInSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidStartClipInSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didStartClipInSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidCompleteClip: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didCompleteClip clip: VKRecorderClip, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidAppendVideoSampleBuffer: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didAppendVideoSampleBuffer sampleBuffer: CMSampleBuffer, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidSkipVideoSampleBuffer: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didSkipVideoSampleBuffer sampleBuffer: CMSampleBuffer, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidAppendVideoPixelBuffer: timestamp: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didAppendVideoPixelBuffer pixelBuffer: CVPixelBuffer, timestamp: TimeInterval, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidSkipVideoPixelBuffer: timestamp: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didSkipVideoPixelBuffer pixelBuffer: CVPixelBuffer, timestamp: TimeInterval, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidAppendAudioSampleBuffer: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didAppendAudioSampleBuffer sampleBuffer: CMSampleBuffer, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidSkipAudioSampleBuffer: inSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didSkipAudioSampleBuffer sampleBuffer: CMSampleBuffer, inSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidCompleteSession: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didCompleteSession session: VKRecorderSession)
-
vkRecorder(_:
Default implementationdidCompletePhotoCaptureFromVideoFrame: ) Default Implementation
Declaration
Swift
func vkRecorder(_ vkRecorder: VKRecorder, didCompletePhotoCaptureFromVideoFrame photoDict: [String : Any]?)
-
vkRecorder(_:
Extension methodwillProcessFrame: timestamp: onQueue: ) Declaration
Swift
public func vkRecorder(_ vkRecorder: VKRecorder, willProcessFrame frame: AnyObject, timestamp: TimeInterval, onQueue queue: DispatchQueue)