else dur = ((TagStore) tags.get(tags.size() - 1)).getTimestamp();
return dur;
}
public void writeTags() {
FileWriter fw = ioHelper.getFileWriter(flvHeader);
fw.setDebug(ioHelper.isDebug());
fw.setTags(tags);
fw.setInStream(ioHelper.getFileReader().getStream());
flvHeader.setHasAudio(tagParser.getLastAudioTag() != -1);
flvHeader.setHasVideo(tagParser.getLastVideoTag() != -1);
fw.writeTags();
}