@aelionsdk/media
@aelionsdk/media
Section titled “@aelionsdk/media”Range I/O, media indexing, exact seek, decoding, cache and proxy primitives for AelionSDK.
Install
Section titled “Install”npm install @aelionsdk/medialatest currently resolves to 1.2.0. Applications should prefer
ProductionMediaProvider from @aelionsdk/sdk; direct use is intended for
custom media providers, cache implementations and decode hosts.
Public surface
Section titled “Public surface”- HTTP/file range readers and proxy contracts;
- MP4/MOV/MKV/TS/WebM indexing and exact seek;
- video, audio and image adapters;
- content-addressed cache and OPFS storage;
- shared decoder, cache and request resource governance.
Callers own returned browser media resources unless an API explicitly transfers ownership. Close frames, cancel obsolete reads and release cache/provider resources when a session ends.
See the media lifecycle guide and API reference. Licensed under MIT.
Classes
Section titled “Classes”- AnimatedImageSource
- AudioPcmDecodeSession
- BlobRangeReader
- FetchRangeReader
- MemoryCacheStore
- MemoryRangeReader
- OpfsCacheStore
- PageMediaResourceGovernor
- SegmentedIndex
- TieredCacheStore
- VideoFrameDecodeSession
Interfaces
Section titled “Interfaces”- AnimatedImageInfo
- AssetRepresentation
- AudioDecodeOptions
- AudioPcmBlock
- AudioPcmDecodeSessionOptions
- AudioTrackInfo
- ByteRange
- CacheAddress
- CacheStore
- CacheStoreSnapshot
- DecodedStillImage
- DecodeStillImageFromReaderOptions
- FetchRangeReaderOptions
- MediaProbeOptions
- MediaResourceBudget
- MediaResourceGovernorSnapshot
- MediaResourceLease
- MediaResourceRequest
- RangeRead
- RangeReader
- RepresentationSelection
- SampleEntry
- SampleIndex
- SeekPoint
- SegmentedIndexChunk
- SegmentedIndexOptions
- SelectRepresentationOptions
- VideoDecodeOptions
- VideoDecodeResult
- VideoDecoderResourceSnapshot
- VideoFrameDecodeSessionOptions
- VideoFrameDecodeSessionSnapshot
- VideoTrackInfo
Type Aliases
Section titled “Type Aliases”Functions
Section titled “Functions”- cacheAddressKey
- createAudioPcmDecodeSessionFromReader
- createSampleIndex
- createSampleIndexFromReader
- createVideoFrameDecodeSessionFromReader
- decodeAudioPcmRange
- decodeAudioPcmRangeFromReader
- decodeStillImage
- decodeStillImageFromReader
- decodeVideoFrameAt
- decodeVideoFrameAtFromReader
- probeSampleIndex
- proxyPresentationTimeUs
- resolveVideoSeek
- selectAssetRepresentation
- videoDecoderResourceSnapshot