2.5.26 IDeckLinkCocoaScreenPreviewCallback Interface

The IDeckLinkCocoaScreenPreviewCallback interface is a cocoa callback class which is called to facilitate updating of an on-screen preview of a video stream being played or captured.

An IDeckLinkCocoaScreenPreviewCallback object can be created by calling CreateCocoaScreenPreview(). This object can registered as a callback with IDeckLinkInput::SetScreenPreviewCallback() or IDeckLinkOutput::SetScreenPreviewCallback() as appropriate.

Tip

During playback or capture, frames will be delivered to the preview callback. A dedicated preview thread waits for the next available frame before calling the callback. The frame delivery rate may be rate limited by the preview callback it is not required to maintain full frame rate and missing frames in preview will have no impact on capture or playback.

Related Interfaces

Interface

Interface ID

Description

IDeckLinkScreenPreviewCallback

IID_IDeckLinkScreenPreviewCallback

IDeckLinkCocoaScreenPreviewCallback subclasses IDeckLinkScreenPreviewCallback