跳转到内容

createAudioPcmDecodeSessionFromReader

此内容尚不支持你的语言。

createAudioPcmDecodeSessionFromReader(reader, options): AudioPcmDecodeSession

Defined in: media/src/mediabunny-adapter.ts:673

Opens an AudioPcmDecodeSession over a range reader, so consecutive PCM windows share one demuxer and decoder instead of reopening the container per request.

The session owns decoder resources until disposed; callers that need a single isolated range should use decodeAudioPcmRangeFromReader instead.

RangeReader

AudioPcmDecodeSessionOptions = {}

AudioPcmDecodeSession