Current problem: When the client is playing a lecture and remains in a paused state for an extended period, the client will automatically disconnect from the server. When playback is resumed, the client will only play the last video data packet obtained from the server. This will cause the video to stop playing automatically after a few minutes, and the client cannot automatically request more video data packets from the server because the client and the server are still disconnected. Unless the client actively refreshes the web page, it can reconnect to the server and play the video again. Although this can temporarily solve the problem, refreshing the client web page will cause personalized playback preferences such as font and playback speed to return to their default states, and the user needs to reset them again. Feasible solution 1: Pause on the client side for a long time, disconnect from the server, and then after starting to play again, the client automatically identifies the playing state and actively connects to the server to request new data packets and ensure that the video does not terminate unexpectedly. Feasible solution 2: The client adds a function to actively remember the playback preference information of videos (such as font, playback speed) so that there is no need to reset the playback preferences after refreshing the web page and reconnecting to the server.