title: Splitting an Ogg Opus File stream
body: <p>I am trying to send an OGG_OPUS encoded stream to google's speech to text streaming service.
  Since there is a time limit imposed by Google for their stream requests, I have to route the audio stream to another Google Speech To Text streaming session on a fixed interval.</p>
  <p>From what I've read, the pages in the OGG stream cannot be read independently since the data in the pages are calculated by considering the data of the previous and next pages.
  If that is the case, can we cut off the stream at a certain point and recreate a brand new stream with the remaining data?
  Stopping at a certain point and sending the data in a new stream just doesn't work because the initial OGG header packets are also no available in the second stream.</p>
  <p>I know that this issue can be solved using PCM data, since its not encoded, a PCM stream can simply be split at any point and turned into a new stream. I cannot use a PCM stream due to the heavy bitrate, also I prefer not to use lossless quality since I'm transferring a voice data stream.</p>
  <p>Refs: <a href="https://www.rfc-editor.org/rfc/rfc7845#section-3" rel="nofollow noreferrer">https://www.rfc-editor.org/rfc/rfc7845#section-3</a></p>