@videts/vide / ssai
ssai
Interfaces
| Interface | Description |
|---|---|
| AdBreakMetadata | Parsed ad break metadata from stream signals. |
| AdTrackingMap | VAST-equivalent tracking URL map for SSAI ad breaks. |
| SsaiPluginOptions | - |
Type Aliases
| Type Alias | Description |
|---|---|
| MetadataParser | Custom parser: receives raw metadata, returns zero or more ad breaks. |
| RawMetadata | Discriminated union of raw metadata from different stream sources. |
Functions
| Function | Description |
|---|---|
| parseDateRange | Parse a DATERANGE into an ad break. Returns null if not an ad marker. |
| parseEventStream | Parse a dash.js EventStream event. Returns null if not an ad marker. |
| parseId3Samples | Parse ID3 timed metadata samples. Returns null if no SCTE-35 signal. |
| ssai | Create an SSAI (Server-Side Ad Insertion) plugin for vide. |