code: private void updateInfoFile() {
          try (RandomAccessFile infoFile = new RandomAccessFile(filePath + ".info", "rw")) {
              infoFile.writeInt(audioCodecId);
              infoFile.writeInt(videoCodecId);
              infoFile.writeInt(duration);
              // additional props
              infoFile.writeInt(audioDataSize);
              infoFile.writeInt(soundRate);
              infoFile.writeInt(soundSize);
              infoFile.writeInt(soundType ? 1 : 0);
              infoFile.writeInt(videoDataSize);
          } catch (Exception e) {
              log.warn("Exception writing flv file information data", e);
          }
      }
docs: Write or update flv file information into the pre-finalization file.