∗
The stream can be a concatenation of different pieces of audio/video with different
headers.