Table of Contents

Namespace VAST.File

Classes

FileCache

Provides caching functionality for media sources and streams, automatically disposing expired entries after a configurable timeout period. Used to optimize repeated access to the same media files.

FileSource

Provides an interactive media source for playlist-based file playback, supporting .pls, .m3u, and content: URI formats. Implements seeking, pausing, looping, and variable playback rates with automatic file concatenation.

MpaSink

Provides a media sink for writing MPEG audio (MP1, MP2, MP3) data to files or streams. Supports URI rotation for file chunking and delayed start for scheduled recordings.

MpaSource

Provides an interactive media source for reading MPEG audio files (MP1, MP2, MP3). Supports local files and HTTP/HTTPS streams with seeking, pausing, looping, and variable playback rates. Handles ID3V1, ID3V2, and APE metadata tags.

WavSink

Provides a media sink for writing audio data to WAV files or streams. Supports PCM, GSM, G.711 (A-law/μ-law), G.722, G.723.1, and G.729 codecs. Implements URI rotation for file chunking and delayed start for scheduled recordings.

WavSource

Provides an interactive media source for reading WAV audio files. Supports seeking, pausing, and variable playback rates with automatic format detection and frame-based sample delivery.

Enums

FileSource.FileErrorHandling

Specifies how errors are handled when processing multiple files in a playlist.