NorskTransform.streamCondition() method
Condition a stream for switching (i.e. for ad insertion)
Provides a mechanism for requesting that a straem be conditioned for switching, with in and out points. This means insertion of IDR frames, relevant to both continuous outputs (e.g. TS based), and hinting of segmentation breaks for segmented outputs (ie HLS).
This may be used in combination with an NorskTransform.ancillary() node for reacting to SCTE-35 message
Signature:
streamCondition(settings: StreamConditionSettings): Promise<StreamConditionNode>;
Parameters
Parameter | Type | Description |
---|---|---|
settings |
Options for the conditioner |
Returns:
Promise<StreamConditionNode>
Find Examples
Search for examples using streamCondition in our examples repo.