docs: public synchronized void close() throws IOException {
          for (StreamingTrack streamingTrack : source) {
              writeFragment(createFragment(streamingTrack, sampleBuffers.get(streamingTrack)));
              streamingTrack.close();
          }
          writeFooter(createFooter());
      }