collectToByteArray

Collects every chunk into a single ByteArray.

Prefer this for finite recordings that need random-access seeking. Unbounded live streams will not complete.