For the callbacks to OnAudioStreamPacket() that are nested between OnAudioStreamStarted & OnAudioStreamStopped:
Are we guaranteed to be called with audio frames in a continuous manner, such that there are never discontinuities in the stream of data?
In other words. Can we use the presentation timestamp (pts) of the first audio packet (and knowledge of the sample rate), to begin the audio stream, and then just play all the data as it arrives (effectively ignoring the pts on subsequent packets). Or do we need to watch for discontinuities in the pts and do our own stop/start (or fill with silence) when there are gaps?
Thanks.