Bad feature of streams
After the second stream, I went to look at the video folder and found out that after the stream, if PeerTube does not explicitly specify transcoding to the required resolution (which overloads my server due to insufficient processor power for live transcoding), then the server simply does nothing. Because of this, with good stream quality, the files turn out to be truly gigantic! So far, I have found a way to solve this problem in the form of a built-in video editor and I will trim one second from the beginning or end of the video so that the transcoding process begins, which should have happened initially. If suddenly my instance grows into something worthwhile and there are a lot of streams, then unfortunately I won’t be able to control it all manually and will have to come up with something about it.