Reads an async sequence of video frames captured with a video camera.
- Parameter configuration: The camera configuration
- Returns: An async sequence of camera video frames.
static func read<S>(_ files: S) async throws -> [VideoReader.AsyncFrames] where S : Sequence, S.Element == URL
Reads a sequence of files as an array of async sequences of video frames.
- Parameter files: A sequence of URLs.
- Returns: An array of async sequences of video frames.
Reads a video file as an async sequence of video frames.
- Parameters:
- url: A video file URL.
- eventHandler: An event handler.
- Returns: An async sequence of `VideoFrames`.
init · iOS 16.0+
init
TypeScript
static init(): VideoReader
Swift declaration
init()
Creates a video reader.
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
VideoReader.read(_:)
This declaration needs Swift generic type arguments. (no canonical witness for Annotation)