Buffering

Streaming media players load a few seconds of the stream ahead of time so that the video or audio can continue playing if the connection is briefly interrupted. This is known as buffering. Buffering ensures that videos can play smoothly and continuously. However, over slow connections, or if a network has a great deal of latency, a video can take a long time to buffer.

Suppose an average resolution photo was taken. The average size of this photo is expected to be between 2.5-4 MB. It will take a long time to store data of this size, as can be expected. Here, thanks to the buffer, while the data is saved in the memory, on the other hand, we have the opportunity to take other pictures according to the size of our buffer. We not only save time, but we also tire the system less because we call the system in the background with a small number of large amounts of data.

With the size of our current buffer, the number of jobs we can do one after the other may increase. For this reason, the large size of the buffer is in our favor.

Buffering