decodeStreams

expect fun decodeStreams(streams: List<StreamInfo>): Flow<Frame>

Decode several streams in one demuxer pass, emitting frames interleaved in container order and tagged by FrameInfo.streamIndex. This is the only correct way to transcode video and audio together: two concurrent decodedFrames flows would race the underlying demuxer, so that is rejected with IllegalStateException.

See also

for the ownership rule every collected frame is subject to

actual fun decodeStreams(streams: List<StreamInfo>): Flow<Frame>

Decode several streams in one demuxer pass, emitting frames interleaved in container order and tagged by FrameInfo.streamIndex. This is the only correct way to transcode video and audio together: two concurrent decodedFrames flows would race the underlying demuxer, so that is rejected with IllegalStateException.

See also

for the ownership rule every collected frame is subject to

actual fun decodeStreams(streams: List<StreamInfo>): Flow<Frame>

Decode several streams in one demuxer pass, emitting frames interleaved in container order and tagged by FrameInfo.streamIndex. This is the only correct way to transcode video and audio together: two concurrent decodedFrames flows would race the underlying demuxer, so that is rejected with IllegalStateException.

See also

for the ownership rule every collected frame is subject to

actual fun decodeStreams(streams: List<StreamInfo>): Flow<Frame>

Decode several streams in one demuxer pass, emitting frames interleaved in container order and tagged by FrameInfo.streamIndex. This is the only correct way to transcode video and audio together: two concurrent decodedFrames flows would race the underlying demuxer, so that is rejected with IllegalStateException.

See also

for the ownership rule every collected frame is subject to

actual fun decodeStreams(streams: List<StreamInfo>): Flow<Frame>

Decode several streams in one demuxer pass, emitting frames interleaved in container order and tagged by FrameInfo.streamIndex. This is the only correct way to transcode video and audio together: two concurrent decodedFrames flows would race the underlying demuxer, so that is rejected with IllegalStateException.

See also

for the ownership rule every collected frame is subject to