StreamSwitchSmoothNode.releasePreloaded() method

Release held frames for a preloaded pin, allowing them to flow through with rebased timestamps.

options.anchorPts — optional video-display PTS anchor (in microseconds) overriding the engine’s internal per-pin videoPrevEndByTag tracking for this release. Used by clients needing cross-switch PTS continuity (e.g. when an HSS downstream alternates between SSS-output and SSQ-output and the boundary needs the OTHER switch’s last PTS as the anchor). Audio + DTS anchors still use internal tracking.

Signature:

releasePreloaded(pin: Pins, options?: {
        anchorPts?: number;
    }): void;

Parameters

Parameter Type Description

pin

Pins

options

{ anchorPts?: number; }

(Optional)

Returns:

void