/** * @packageDocumentation Source.package * * Holds and exposes state atoms of content source that is being played back. * Exposes `createSourceReference` function which would be used to create source state atom, * and spawn new source thread. * * It also exposes `SourceReferences`, which is should hold all source references created. * * The main exposed component is the `SourceStateAtom` (the result of calling `createSourceReference`) * which holds whole PWX stream data structure and comprised of related state atoms: * * - `BufferConfig` atom specifies `forwardDuration` and `backwardDuration` * - `MediaTypeMapAtom` used to hold active media types * - `PlaybackAtom` indicates current state of `PlaybackState` * - `PlayheadAtom` tracks position in which the current time is located * - `VideoElementAtom` holds reference to `HTMLVideoElement` * * ### `Source` Package Dependency Graph *
Source
Core
*/ import type { EmptyObject } from '../../../framework-types/BaseTypes'; import type { SourcePackageDependencies, SourcePackageExports } from './Types'; export declare const SourcePackage: import("../../../framework-types/package-api/Package").Package; export default SourcePackage;